|
@@ -32,9 +32,9 @@ jobs:
|
|
gmake -C vendor/miniaudio/src
|
|
gmake -C vendor/miniaudio/src
|
|
./odin check examples/all -vet -strict-style -disallow-do -target:netbsd_amd64
|
|
./odin check examples/all -vet -strict-style -disallow-do -target:netbsd_amd64
|
|
./odin check examples/all -vet -strict-style -disallow-do -target:netbsd_arm64
|
|
./odin check examples/all -vet -strict-style -disallow-do -target:netbsd_arm64
|
|
- ./odin test tests/core/normal.odin -file -all-packages -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
|
|
- ./odin test tests/core/speed.odin -file -all-packages -o:speed -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
|
|
- ./odin test tests/vendor -all-packages -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
|
|
|
|
+ ./odin test tests/core/normal.odin -file -all-packages -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
|
|
+ ./odin test tests/core/speed.odin -file -all-packages -disallow-do -o:speed -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
|
|
+ ./odin test tests/vendor -all-packages -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
(cd tests/issues; ./run.sh)
|
|
(cd tests/issues; ./run.sh)
|
|
build_freebsd:
|
|
build_freebsd:
|
|
name: FreeBSD Build, Check, and Test
|
|
name: FreeBSD Build, Check, and Test
|
|
@@ -60,9 +60,9 @@ jobs:
|
|
gmake -C vendor/cgltf/src
|
|
gmake -C vendor/cgltf/src
|
|
gmake -C vendor/miniaudio/src
|
|
gmake -C vendor/miniaudio/src
|
|
./odin check examples/all -vet -strict-style -disallow-do -target:freebsd_amd64
|
|
./odin check examples/all -vet -strict-style -disallow-do -target:freebsd_amd64
|
|
- ./odin test tests/core/normal.odin -file -all-packages -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
|
|
- ./odin test tests/core/speed.odin -file -all-packages -o:speed -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
|
|
- ./odin test tests/vendor -all-packages -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
|
|
|
|
+ ./odin test tests/core/normal.odin -file -all-packages -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
|
|
+ ./odin test tests/core/speed.odin -file -all-packages -disallow-do -o:speed -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
|
|
+ ./odin test tests/vendor -all-packages -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
(cd tests/issues; ./run.sh)
|
|
(cd tests/issues; ./run.sh)
|
|
ci:
|
|
ci:
|
|
strategy:
|
|
strategy:
|
|
@@ -116,13 +116,13 @@ jobs:
|
|
- name: Odin check examples/all
|
|
- name: Odin check examples/all
|
|
run: ./odin check examples/all -strict-style
|
|
run: ./odin check examples/all -strict-style
|
|
- name: Normal Core library tests
|
|
- name: Normal Core library tests
|
|
- run: ./odin test tests/core/normal.odin -file -all-packages -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
|
|
|
|
+ run: ./odin test tests/core/normal.odin -file -all-packages -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
- name: Optimized Core library tests
|
|
- name: Optimized Core library tests
|
|
- run: ./odin test tests/core/speed.odin -o:speed -file -all-packages -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
|
|
|
|
+ run: ./odin test tests/core/speed.odin -o:speed -file -all-packages -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
- name: Vendor library tests
|
|
- name: Vendor library tests
|
|
- run: ./odin test tests/vendor -all-packages -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
|
|
|
|
+ run: ./odin test tests/vendor -all-packages -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
- name: Internals tests
|
|
- name: Internals tests
|
|
- run: ./odin test tests/internal -all-packages -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
|
|
|
|
+ run: ./odin test tests/internal -all-packages -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
- name: GitHub Issue tests
|
|
- name: GitHub Issue tests
|
|
run: |
|
|
run: |
|
|
cd tests/issues
|
|
cd tests/issues
|
|
@@ -176,33 +176,33 @@ jobs:
|
|
shell: cmd
|
|
shell: cmd
|
|
run: |
|
|
run: |
|
|
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
- odin run examples/demo -debug
|
|
|
|
|
|
+ odin run examples/demo -debug -disallow-do
|
|
- name: Odin check examples/all
|
|
- name: Odin check examples/all
|
|
shell: cmd
|
|
shell: cmd
|
|
run: |
|
|
run: |
|
|
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
- odin check examples/all -strict-style
|
|
|
|
|
|
+ odin check examples/all -strict-style -disallow-do
|
|
- name: Core library tests
|
|
- name: Core library tests
|
|
shell: cmd
|
|
shell: cmd
|
|
run: |
|
|
run: |
|
|
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
- odin test tests/core/normal.odin -file -all-packages -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
|
|
|
|
+ odin test tests/core/normal.odin -file -all-packages -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
- name: Optimized core library tests
|
|
- name: Optimized core library tests
|
|
shell: cmd
|
|
shell: cmd
|
|
run: |
|
|
run: |
|
|
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
- odin test tests/core/speed.odin -o:speed -file -all-packages -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
|
|
|
|
+ odin test tests/core/speed.odin -o:speed -file -all-packages -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
- name: Vendor library tests
|
|
- name: Vendor library tests
|
|
shell: cmd
|
|
shell: cmd
|
|
run: |
|
|
run: |
|
|
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
copy vendor\lua\5.4\windows\*.dll .
|
|
copy vendor\lua\5.4\windows\*.dll .
|
|
- odin test tests/vendor -all-packages -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
|
|
|
|
+ odin test tests/vendor -all-packages -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
- name: Odin internals tests
|
|
- name: Odin internals tests
|
|
shell: cmd
|
|
shell: cmd
|
|
run: |
|
|
run: |
|
|
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
|
- odin test tests/internal -all-packages -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
|
|
|
|
+ odin test tests/internal -all-packages -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
|
|
- name: Odin documentation tests
|
|
- name: Odin documentation tests
|
|
shell: cmd
|
|
shell: cmd
|
|
run: |
|
|
run: |
|
|
@@ -257,16 +257,16 @@ jobs:
|
|
run: sudo apt-get install -y qemu-user qemu-user-static gcc-12-riscv64-linux-gnu libc6-riscv64-cross
|
|
run: sudo apt-get install -y qemu-user qemu-user-static gcc-12-riscv64-linux-gnu libc6-riscv64-cross
|
|
|
|
|
|
- name: Odin run
|
|
- name: Odin run
|
|
- run: ./odin run examples/demo -target:linux_riscv64 -extra-linker-flags:"-fuse-ld=/usr/bin/riscv64-linux-gnu-gcc-12 -static -Wl,-static"
|
|
|
|
|
|
+ run: ./odin run examples/demo -disallow-do -target:linux_riscv64 -extra-linker-flags:"-fuse-ld=/usr/bin/riscv64-linux-gnu-gcc-12 -static -Wl,-static"
|
|
|
|
|
|
- name: Odin run -debug
|
|
- name: Odin run -debug
|
|
- run: ./odin run examples/demo -debug -target:linux_riscv64 -extra-linker-flags:"-fuse-ld=/usr/bin/riscv64-linux-gnu-gcc-12 -static -Wl,-static"
|
|
|
|
|
|
+ run: ./odin run examples/demo -debug -disallow-do -target:linux_riscv64 -extra-linker-flags:"-fuse-ld=/usr/bin/riscv64-linux-gnu-gcc-12 -static -Wl,-static"
|
|
|
|
|
|
- name: Normal Core library tests
|
|
- name: Normal Core library tests
|
|
- run: ./odin test tests/core/normal.odin -file -all-packages -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -target:linux_riscv64 -extra-linker-flags:"-fuse-ld=/usr/bin/riscv64-linux-gnu-gcc-12 -static -Wl,-static"
|
|
|
|
|
|
+ run: ./odin test tests/core/normal.odin -file -all-packages -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -target:linux_riscv64 -extra-linker-flags:"-fuse-ld=/usr/bin/riscv64-linux-gnu-gcc-12 -static -Wl,-static"
|
|
|
|
|
|
- name: Optimized Core library tests
|
|
- name: Optimized Core library tests
|
|
- run: ./odin test tests/core/speed.odin -o:speed -file -all-packages -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -target:linux_riscv64 -extra-linker-flags:"-fuse-ld=/usr/bin/riscv64-linux-gnu-gcc-12 -static -Wl,-static"
|
|
|
|
|
|
+ run: ./odin test tests/core/speed.odin -o:speed -file -all-packages -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -target:linux_riscv64 -extra-linker-flags:"-fuse-ld=/usr/bin/riscv64-linux-gnu-gcc-12 -static -Wl,-static"
|
|
|
|
|
|
- name: Internals tests
|
|
- name: Internals tests
|
|
- run: ./odin test tests/internal -all-packages -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -target:linux_riscv64 -extra-linker-flags:"-fuse-ld=/usr/bin/riscv64-linux-gnu-gcc-12 -static -Wl,-static"
|
|
|
|
|
|
+ run: ./odin test tests/internal -all-packages -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -target:linux_riscv64 -extra-linker-flags:"-fuse-ld=/usr/bin/riscv64-linux-gnu-gcc-12 -static -Wl,-static"
|