Skip to content

Commit b3edabc

Browse files
committed
attempt 2
1 parent 2ce6a1e commit b3edabc

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,31 @@ jobs:
124124
run: ./odin check examples/all -strict-style -vet -disallow-do
125125
- name: Odin check vendor/sdl3
126126
run: ./odin check vendor/sdl3 -strict-style -vet -disallow-do -no-entry-point
127+
127128
- name: Normal Core library tests
128129
run: ./odin test tests/core/normal.odin -file -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -sanitize:address
130+
if: matrix.os == 'ubuntu-latest'
131+
run: ./odin test tests/core/normal.odin -file -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
132+
if: matrix.os != 'ubuntu-latest'
133+
129134
- name: Optimized Core library tests
130135
run: ./odin test tests/core/speed.odin -o:speed -file -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -sanitize:address
136+
if: matrix.os == 'ubuntu-latest'
137+
run: ./odin test tests/core/speed.odin -o:speed -file -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
138+
if: matrix.os != 'ubuntu-latest'
139+
131140
- name: Vendor library tests
132141
run: ./odin test tests/vendor -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -sanitize:address
142+
if: matrix.os == 'ubuntu-latest'
143+
run: ./odin test tests/vendor -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
144+
if: matrix.os != 'ubuntu-latest'
145+
133146
- name: Internals tests
147+
run: ./odin test tests/internal -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -sanitize:address
148+
if: matrix.os == 'ubuntu-latest'
134149
run: ./odin test tests/internal -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true
150+
if: matrix.os != 'ubuntu-latest'
151+
135152
- name: GitHub Issue tests
136153
run: |
137154
cd tests/issues

0 commit comments

Comments
 (0)