CI: Build on macOS #250
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
semu-linux: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install-dependencies | |
run: | | |
sudo apt-get install build-essential device-tree-compiler expect | |
- name: default build | |
run: make | |
shell: bash | |
- name: automated test | |
run: .ci/autorun.sh | |
shell: bash | |
semu-macOS: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install-dependencies | |
run: | | |
brew install make dtc expect e2fsprogs | |
- name: default build | |
run: make | |
shell: bash | |
- name: automated test | |
run: .ci/autorun.sh | |
shell: bash | |
coding_style: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: coding convention | |
run: | | |
sudo apt-get install -q -y clang-format-12 | |
.ci/check-format.sh | |
shell: bash |