mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-26 09:11:47 +00:00
replace makefiles in vendor with shell scripts; update ci. (#7034)
Replace makefiles in vendor with shell scripts; update ci.
This commit is contained in:
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user