Build kernel with KFT instrumentation #3527
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: Mimiker | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
concurrency: | |
group: build-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
verify_c_style: | |
name: Verify C code style | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- run: ./verify-format.sh | |
verify_py_style: | |
name: Verify Python code style | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
- run: ./verify-pycodestyle.sh | |
build: | |
name: Build Mimiker | |
strategy: | |
fail-fast: false | |
matrix: | |
arch: [mips, aarch64, riscv32, riscv64] | |
build: [kasan, kcsan] | |
exclude: | |
- arch: riscv32 | |
build: kcsan | |
- arch: riscv64 | |
build: kcsan | |
runs-on: self-hosted | |
needs: [verify_c_style, verify_py_style] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- run: ./action.sh build ${{ matrix.arch }} ${{ matrix.build }} | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: "${{ matrix.arch }} ${{ matrix.build }} build" | |
path: | | |
bin/*/*.uelf | |
initrd.cpio | |
sys/dts/*.dtb | |
sys/mimiker.elf | |
sys/mimiker.elf.map | |
sys/mimiker.img.gz | |
usr.bin/*/*.uelf | |
tests: | |
name: Run Tests | |
strategy: | |
fail-fast: false | |
matrix: | |
arch: [mips, aarch64, riscv64] | |
build: [kasan, kcsan] | |
suite: [kernel, user] | |
exclude: | |
- arch: riscv64 | |
build: kcsan | |
runs-on: self-hosted | |
needs: build | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/download-artifact@v3 | |
with: | |
name: "${{ matrix.arch }} ${{ matrix.build }} build" | |
- run: ./action.sh tests ${{ matrix.arch }} ${{ matrix.build }} ${{ matrix.suite }} |