Skip to content

Commit 54e3c04

Browse files
committed
Add CI job for testing FLECS_USE_OS_ALLOC
1 parent 8e15d0e commit 54e3c04

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -905,6 +905,30 @@ jobs:
905905
run: |
906906
bake run test/cpp --cfg sanitize -- -j 8
907907
908+
test-os-alloc-core:
909+
needs: [ build-linux ]
910+
runs-on: ${{ matrix.os }}
911+
timeout-minutes: 30
912+
strategy:
913+
fail-fast: false
914+
matrix:
915+
os: [ ubuntu-20.04 ]
916+
917+
steps:
918+
- uses: actions/checkout@v4
919+
- name: install bake
920+
run: |
921+
git clone https://github.com/SanderMertens/bake
922+
make -C bake/build-$(uname)
923+
bake/bake setup
924+
925+
- name: build flecs
926+
run: bake --cfg sanitize -D FLECS_USE_OS_ALLOC
927+
928+
- name: run tests
929+
run: |
930+
bake run test/core --cfg sanitize -- -j 8
931+
908932
test-cmake:
909933
needs: [ build-linux, build-macos ]
910934
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)