|
42 | 42 | - name: install-dependencies |
43 | 43 | run: | |
44 | 44 | sudo apt-get update -q -y |
45 | | - sudo apt-get install -q -y libsdl2-dev libsdl2-mixer-dev |
| 45 | + sudo apt-get install -q -y libsdl2-dev libsdl2-mixer-dev device-tree-compiler expect |
46 | 46 | .ci/riscv-toolchain-install.sh |
47 | 47 | echo "${{ github.workspace }}/toolchain/bin" >> $GITHUB_PATH |
48 | 48 | wget https://apt.llvm.org/llvm.sh |
|
85 | 85 | run: | |
86 | 86 | make clean && make ENABLE_UBSAN=1 check -j$(nproc) |
87 | 87 | make ENABLE_JIT=1 clean && make ENABLE_JIT=1 ENABLE_UBSAN=1 check -j$(nproc) |
| 88 | + - name: boot Linux kernel test |
| 89 | + run: | |
| 90 | + make clean && make ENABLE_SYSTEM=1 && make ENABLE_SYSTEM=1 artifact -j$(nproc) |
| 91 | + .ci/boot-linux.sh |
| 92 | + make ENABLE_SYSTEM=1 clean |
88 | 93 |
|
89 | 94 | host-arm64: |
90 | 95 | needs: [detect-code-related-file-changes] |
@@ -120,6 +125,20 @@ jobs: |
120 | 125 | make ENABLE_JIT=1 clean && make ENABLE_EXT_F=0 ENABLE_JIT=1 check -j$(nproc) |
121 | 126 | make ENABLE_JIT=1 clean && make ENABLE_EXT_C=0 ENABLE_JIT=1 check -j$(nproc) |
122 | 127 |
|
| 128 | + # Currently, this environment only for system emulation testing |
| 129 | + macOS: |
| 130 | + runs-on: macos-latest |
| 131 | + steps: |
| 132 | + - uses: actions/checkout@v4 |
| 133 | + - name: install-dependencies |
| 134 | + run: | |
| 135 | + brew install make dtc expect |
| 136 | + - name: boot Linux kernel test |
| 137 | + run: | |
| 138 | + make clean && make ENABLE_SYSTEM=1 && make ENABLE_SYSTEM=1 artifact -j$(nproc) |
| 139 | + .ci/boot-linux.sh |
| 140 | + make ENABLE_SYSTEM=1 clean |
| 141 | +
|
123 | 142 | coding-style: |
124 | 143 | needs: [detect-code-related-file-changes] |
125 | 144 | if: needs.detect-code-related-file-changes.outputs.has_code_related_changes == 'true' |
|
0 commit comments