1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-10-30 06:36:21 +00:00

Add OSNMA tests to the GitHub CI

This commit is contained in:
Carles Fernandez 2024-07-26 20:02:15 +02:00
parent c54f941dce
commit 27f93e5626
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -34,7 +34,8 @@ jobs:
- name: check - name: check
run: cd build && ninja check && ../install/volk_gnsssdr_profile && ../install/run_tests run: cd build && ninja check && ../install/volk_gnsssdr_profile && ../install/run_tests
- name: default position_test - name: default position_test
run: cd build && cmake -DENABLE_SYSTEM_TESTING_EXTRA=ON .. && ninja && ../install/position_test run: cd build && cmake -DENABLE_SYSTEM_TESTING_EXTRA=ON -DENABLE_UNIT_TESTING_EXTRA=ON .. && \
ninja && ../install/position_test && ../install/run_tests --gtest_filter=Osnma* --log_dir=./
build-macos: build-macos:
runs-on: macos-latest runs-on: macos-latest
@ -66,7 +67,8 @@ jobs:
- name: check - name: check
run: cd build && ninja check && ../install/volk_gnsssdr_profile && ../install/run_tests run: cd build && ninja check && ../install/volk_gnsssdr_profile && ../install/run_tests
- name: default position_test - name: default position_test
run: cd build && cmake -DENABLE_SYSTEM_TESTING_EXTRA=ON .. && ninja && ../install/position_test run: cd build && cmake -DENABLE_SYSTEM_TESTING_EXTRA=ON -DENABLE_UNIT_TESTING_EXTRA=ON .. && \
ninja && ../install/position_test && ../install/run_tests --gtest_filter=Osnma*
build-macos-xcode: build-macos-xcode:
runs-on: macos-latest runs-on: macos-latest
@ -104,9 +106,10 @@ jobs:
- name: default position_test - name: default position_test
run: | run: |
cd build cd build
cmake -DENABLE_SYSTEM_TESTING_EXTRA=ON .. cmake -DENABLE_SYSTEM_TESTING_EXTRA=ON -DENABLE_UNIT_TESTING_EXTRA=ON ..
xcodebuild -configuration Release -target position_test xcodebuild -configuration Release -target position_test
../install/position_test ../install/position_test
../install/run_tests --gtest_filter=Osnma*
clang-format: clang-format:
runs-on: ubuntu-latest runs-on: ubuntu-latest