|
@@ -32,8 +32,8 @@ jobs:
|
|
gmake -C vendor/stb/src
|
|
gmake -C vendor/stb/src
|
|
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 -target:netbsd_amd64
|
|
|
|
- ./odin check examples/all -vet -strict-style -target:netbsd_arm64
|
|
|
|
|
|
+ ./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 test tests/core/normal.odin -file -all-packages -define:ODIN_TEST_FANCY=false
|
|
./odin test tests/core/normal.odin -file -all-packages -define:ODIN_TEST_FANCY=false
|
|
./odin test tests/core/speed.odin -file -all-packages -o:speed -define:ODIN_TEST_FANCY=false
|
|
./odin test tests/core/speed.odin -file -all-packages -o:speed -define:ODIN_TEST_FANCY=false
|
|
./odin test tests/vendor -all-packages -define:ODIN_TEST_FANCY=false
|
|
./odin test tests/vendor -all-packages -define:ODIN_TEST_FANCY=false
|
|
@@ -62,7 +62,7 @@ jobs:
|
|
gmake -C vendor/stb/src
|
|
gmake -C vendor/stb/src
|
|
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 -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
|
|
./odin test tests/core/normal.odin -file -all-packages -define:ODIN_TEST_FANCY=false
|
|
./odin test tests/core/speed.odin -file -all-packages -o:speed -define:ODIN_TEST_FANCY=false
|
|
./odin test tests/core/speed.odin -file -all-packages -o:speed -define:ODIN_TEST_FANCY=false
|
|
./odin test tests/vendor -all-packages -define:ODIN_TEST_FANCY=false
|
|
./odin test tests/vendor -all-packages -define:ODIN_TEST_FANCY=false
|
|
@@ -135,21 +135,21 @@ jobs:
|
|
./run.sh
|
|
./run.sh
|
|
|
|
|
|
- name: Odin check examples/all for Linux i386
|
|
- name: Odin check examples/all for Linux i386
|
|
- run: ./odin check examples/all -vet -strict-style -target:linux_i386
|
|
|
|
|
|
+ run: ./odin check examples/all -vet -strict-style -disallow-do -target:linux_i386
|
|
if: matrix.os == 'ubuntu-latest'
|
|
if: matrix.os == 'ubuntu-latest'
|
|
- name: Odin check examples/all for Linux arm64
|
|
- name: Odin check examples/all for Linux arm64
|
|
- run: ./odin check examples/all -vet -strict-style -target:linux_arm64
|
|
|
|
|
|
+ run: ./odin check examples/all -vet -strict-style -disallow-do -target:linux_arm64
|
|
if: matrix.os == 'ubuntu-latest'
|
|
if: matrix.os == 'ubuntu-latest'
|
|
- name: Odin check examples/all for FreeBSD amd64
|
|
- name: Odin check examples/all for FreeBSD amd64
|
|
- run: ./odin check examples/all -vet -strict-style -target:freebsd_amd64
|
|
|
|
|
|
+ run: ./odin check examples/all -vet -strict-style -disallow-do -target:freebsd_amd64
|
|
if: matrix.os == 'ubuntu-latest'
|
|
if: matrix.os == 'ubuntu-latest'
|
|
- name: Odin check examples/all for OpenBSD amd64
|
|
- name: Odin check examples/all for OpenBSD amd64
|
|
- run: ./odin check examples/all -vet -strict-style -target:openbsd_amd64
|
|
|
|
|
|
+ run: ./odin check examples/all -vet -strict-style -disallow-do -target:openbsd_amd64
|
|
if: matrix.os == 'ubuntu-latest'
|
|
if: matrix.os == 'ubuntu-latest'
|
|
|
|
|
|
- name: Run demo on WASI WASM32
|
|
- name: Run demo on WASI WASM32
|
|
run: |
|
|
run: |
|
|
- ./odin build examples/demo -target:wasi_wasm32 -vet -strict-style -out:demo.wasm
|
|
|
|
|
|
+ ./odin build examples/demo -target:wasi_wasm32 -vet -strict-style -disallow-do -out:demo.wasm
|
|
wasmtime ./demo.wasm
|
|
wasmtime ./demo.wasm
|
|
if: matrix.os == 'macos-14'
|
|
if: matrix.os == 'macos-14'
|
|
|
|
|