1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2026-06-05 12:12:17 +00:00

Fix for Xcode new build system

CI: add new build-macos-xcode job
This commit is contained in:
Carles Fernandez
2022-11-29 23:38:27 +01:00
parent bb03d42177
commit a975e33dab
4 changed files with 80 additions and 76 deletions
+15
View File
@@ -41,6 +41,21 @@ jobs:
- name: default position_test
run: cd build && cmake -DENABLE_SYSTEM_TESTING_EXTRA=ON .. && ninja && ../install/position_test
build-macos-xcode:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: install dependencies
run: brew update && brew install ninja pkg-config hdf5 automake armadillo lapack gflags glog gnuradio log4cpp openssl pugixml protobuf && pip3 install mako
- name: configure
run: cd build && cmake -GXcode ..
- name: build
run: cd build && xcodebuild -configuration Release
- name: check
run: cd build && xcodebuild -configuration Release -target check && ../install/volk_gnsssdr_profile && ../install/run_tests
- name: default position_test
run: cd build && cmake -DENABLE_SYSTEM_TESTING_EXTRA=ON .. && xcodebuild -configuration Release -target position_test && ../install/position_test
clang-format:
runs-on: macos-latest
steps: