Skip to content

Commit

Permalink
Run the cmake tests in the ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Naios committed Sep 21, 2023
1 parent 9701875 commit 1610e0c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -807,3 +807,27 @@ jobs:
- name: run tests
run: |
bake run test/cpp_api --cfg sanitize -- -j 8
test-cmake:
needs: [ build-linux ]
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]

steps:
- uses: actions/checkout@v3
- name: clone bake
run: |
git clone https://github.com/SanderMertens/bake
- name: build flecs & tests
run: |
cmake -DFLECS_TESTS=ON -DBAKE_DIRECTORY=bake
make -j 8
- name: run tests
run: |
ctest -C Debug --verbose

0 comments on commit 1610e0c

Please sign in to comment.