mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Fix Ubuntu 20.04 workflow tests
Previously, the tests did not run because the CMake version shipped with Ubuntu 20.04 does not understand the `--test-dir` option and silently fails. Change-Id: I335e1d9e3890aa56e66a9dfd0fccd4594a84a08c
This commit is contained in:
committed by
Alex Stewart
parent
71717f37c6
commit
d87fd551bc
@@ -79,8 +79,8 @@ jobs:
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
ctest --test-dir build_${{matrix.build_type}} \
|
||||
--config ${{matrix.build_type}} \
|
||||
cd build_${{matrix.build_type}}/
|
||||
ctest --config ${{matrix.build_type}} \
|
||||
--output-on-failure \
|
||||
-j$(nproc)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user