abi test harness

This commit is contained in:
kalsprite
2026-08-12 23:05:14 -07:00
parent 36d0b056a2
commit 9a2164ac2e
6 changed files with 901 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ jobs:
./odin test tests/core/speed.odin -file -vet -vet-tabs -strict-style -vet-style -warnings-as-errors -disallow-do -o:speed -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -microarch:native
./odin test tests/vendor -all-packages -vet -vet-tabs -strict-style -vet-style -warnings-as-errors -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -microarch:native
(cd tests/issues; ./run.sh)
(cd tests/abi; ./run.sh)
./odin check tests/benchmark -vet -strict-style -no-entry-point
build_freebsd:
@@ -73,6 +74,7 @@ jobs:
./odin test tests/core/speed.odin -file -all-packages -vet -vet-tabs -strict-style -vet-style -warnings-as-errors -disallow-do -o:speed -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
./odin test tests/vendor -all-packages -vet -vet-tabs -strict-style -vet-style -warnings-as-errors -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
(cd tests/issues; ./run.sh)
(cd tests/abi; ./run.sh)
./odin check tests/benchmark -vet -strict-style -no-entry-point
ci:
strategy:
@@ -171,6 +173,11 @@ jobs:
cd tests/issues
./run.sh
- name: ABI comparator
run: |
cd tests/abi
./run.sh
- name: Run demo on WASI WASM32
run: |
./odin build examples/demo -target:wasi_wasm32 -vet -vet-tabs -strict-style -vet-style -warnings-as-errors -disallow-do -out:demo
@@ -283,6 +290,8 @@ jobs:
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
cd tests/issues
call run.bat
cd ../abi
call run.bat
- name: Check benchmarks
shell: cmd
run: |