replace makefiles in vendor with shell scripts; update ci. (#7034)

Replace makefiles in vendor with shell scripts; update ci.
This commit is contained in:
quark
2026-07-14 03:43:28 -06:00
committed by GitHub
parent 5480a725d1
commit f308d92f32
7 changed files with 137 additions and 103 deletions

View File

@@ -27,9 +27,9 @@ jobs:
gmake release
./odin version
./odin report
gmake -C vendor/stb/src
gmake -C vendor/cgltf/src
gmake -C vendor/miniaudio/src
(cd ./vendor/stb/src/; ./build_stb.sh)
(cd ./vendor/cgltf/src/; ./build_cgltf.sh)
(cd ./vendor/miniaudio/src/; ./build_miniaudio.sh)
./odin check examples/all -vet -vet-tabs -strict-style -vet-style -warnings-as-errors -disallow-do -target:netbsd_amd64
./odin check examples/all -vet -vet-tabs -strict-style -vet-style -warnings-as-errors -disallow-do -target:netbsd_arm64
./odin check examples/all/sdl3 -vet -vet-tabs -strict-style -vet-style -warnings-as-errors -disallow-do -target:netbsd_amd64 -no-entry-point
@@ -60,9 +60,9 @@ jobs:
gmake release
./odin version
./odin report
gmake -C vendor/stb/src
gmake -C vendor/cgltf/src
gmake -C vendor/miniaudio/src
(cd ./vendor/stb/src/; ./build_stb.sh)
(cd ./vendor/cgltf/src/; ./build_cgltf.sh)
(cd ./vendor/miniaudio/src/; ./build_miniaudio.sh)
./odin check examples/all -vet -vet-tabs -strict-style -vet-style -warnings-as-errors -disallow-do -target:freebsd_amd64
./odin check examples/all/sdl3 -vet -vet-tabs -strict-style -vet-style -warnings-as-errors -disallow-do -target:freebsd_amd64 -no-entry-point
./odin test tests/core/normal.odin -file -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
@@ -122,9 +122,9 @@ jobs:
brew install curl mbedtls
- name: Compile needed Vendor
run: |
make -C vendor/stb/src
make -C vendor/cgltf/src
make -C vendor/miniaudio/src
(cd ./vendor/stb/src/; ./build_stb.sh)
(cd ./vendor/cgltf/src/; ./build_cgltf.sh)
(cd ./vendor/miniaudio/src/; ./build_miniaudio.sh)
- name: Odin check
run: ./odin check examples/demo -vet
- name: Odin run
@@ -320,9 +320,9 @@ jobs:
- name: Compile needed Vendor
run: |
make -C vendor/stb/src
make -C vendor/cgltf/src
make -C vendor/miniaudio/src
(cd ./vendor/stb/src/; ./build_stb.sh)
(cd ./vendor/cgltf/src/; ./build_cgltf.sh)
(cd ./vendor/miniaudio/src/; ./build_miniaudio.sh)
- name: Odin check examples/all
run: ./odin check examples/all -target:linux_riscv64 -vet -vet-tabs -strict-style -vet-style -warnings-as-errors -disallow-do