Run unit tests under the building architecture
This also removed the need for `@intCase()` Also move the making directories and copying to a script to the build is simpler. Install qemu earler Added chmod +x Fixed copy elf Added missing switch for qemu binary Spelling Make makeiso.sh executable No longer chmod makeiso.sh Use the cache root to set the output directory
This commit is contained in:
parent
a095fd3947
commit
0746048a00
8 changed files with 114 additions and 84 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
@ -19,14 +19,14 @@ jobs:
|
|||
wget $(curl -s 'https://ziglang.org/download/index.json' | python3 -c "import sys, json; print(json.load(sys.stdin)['master']['x86_64-linux']['tarball'])")
|
||||
sudo apt-get install mtools
|
||||
tar -xvf zig*
|
||||
- name: Build kernel
|
||||
run: zig*/zig build ${{ matrix.build_mode }}
|
||||
- name: Run unit tests
|
||||
run: zig*/zig build test ${{ matrix.build_mode }}
|
||||
- name: Install qemu
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install qemu qemu-system --fix-missing
|
||||
- name: Build kernel
|
||||
run: zig*/zig build ${{ matrix.build_mode }}
|
||||
- name: Run unit tests
|
||||
run: zig*/zig build test ${{ matrix.build_mode }}
|
||||
- name: Run runtime tests
|
||||
run: zig*/zig build test -Drt-test=true ${{ matrix.build_mode }}
|
||||
- name: Check formatting
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue