-
-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for building the tests with CMake #1043
Conversation
40e9998
to
ee66fa6
Compare
I just tried this out locally, am getting the following error:
Looks like it's ignoring the argument:
|
Ah, it should be |
Can you add this to the end of 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 |
60a3a11
to
a016e60
Compare
* Requires a present bake repository in test/
I have updated it accordingly. But I dont have time currently, to fix any resulting build failures. |
I couldn't push to this PR, so I branched off and created a new one to add the CI tests. Thanks for the PR! |
Thank you for merging. |
Requires a present bake repository in test/ or in a path set via BAKE_REPOSITORY
You can then also add CTest to the github workflow:
Runs the tests single-threaded in MSVC
Ref #1036