diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 29ba7d91..5653c744 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,6 +62,7 @@ jobs: env: CC: ${{ steps.install_cc.outputs.cc }} run: make -j$(nproc) + if: ${{ always() }} - name: check + tests env: CC: ${{ steps.install_cc.outputs.cc }} @@ -71,6 +72,7 @@ jobs: make tests -j$(nproc) make misalign -j$(nproc) make tool -j$(nproc) + if: ${{ always() }} - name: diverse configurations env: CC: ${{ steps.install_cc.outputs.cc }} @@ -88,23 +90,27 @@ jobs: make distclean && make ENABLE_Zbc=0 check -j$(nproc) make distclean && make ENABLE_Zbs=0 check -j$(nproc) make distclean && make ENABLE_Zifencei=0 check -j$(nproc) + if: ${{ always() }} - name: misalignment test in block emulation env: CC: ${{ steps.install_cc.outputs.cc }} run: | make -C tests/system/alignment/ make distclean && make ENABLE_ELF_LOADER=1 ENABLE_EXT_C=0 ENABLE_SYSTEM=1 misalign-in-blk-emu -j$(nproc) + if: ${{ always() }} - name: MMU test env: CC: ${{ steps.install_cc.outputs.cc }} run: | make -C tests/system/mmu/ make distclean && make ENABLE_ELF_LOADER=1 ENABLE_SYSTEM=1 mmu-test -j$(nproc) + if: ${{ always() }} - name: gdbstub test env: CC: ${{ steps.install_cc.outputs.cc }} run: | make distclean && make ENABLE_GDBSTUB=1 gdbstub-test -j$(nproc) + if: ${{ always() }} - name: JIT test env: CC: ${{ steps.install_cc.outputs.cc }} @@ -122,10 +128,12 @@ jobs: make ENABLE_JIT=1 clean && make ENABLE_Zifencei=0 ENABLE_JIT=1 check -j$(nproc) make ENABLE_JIT=1 clean && make ENABLE_MOP_FUSION=0 ENABLE_JIT=1 check -j$(nproc) make ENABLE_JIT=1 clean && make ENABLE_BLOCK_CHAINING=0 ENABLE_JIT=1 check -j$(nproc) + if: ${{ always() }} - name: undefined behavior test run: | make clean && make ENABLE_UBSAN=1 check -j$(nproc) make ENABLE_JIT=1 clean && make ENABLE_JIT=1 ENABLE_UBSAN=1 check -j$(nproc) + if: ${{ always() }} - name: boot Linux kernel test env: CC: ${{ steps.install_cc.outputs.cc }} @@ -133,6 +141,7 @@ jobs: make clean && make ENABLE_SYSTEM=1 && make ENABLE_SYSTEM=1 artifact -j$(nproc) .ci/boot-linux.sh make ENABLE_SYSTEM=1 clean + if: ${{ always() }} host-arm64: needs: [detect-code-related-file-changes]