-
Notifications
You must be signed in to change notification settings - Fork 49
46 lines (42 loc) · 1 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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
- name: netdev test
run: .ci/test-netdev.sh
shell: bash
if: ${{ success() }}
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