mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-13 19:50:34 +00:00
Update checkout action for macos-latest
This commit is contained in:
parent
d1713af027
commit
4e533deb16
24
.github/workflows/main.yml
vendored
24
.github/workflows/main.yml
vendored
@ -5,10 +5,10 @@ name: Simple CI
|
||||
on:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '**/CITATION.cff'
|
||||
- "**/CITATION.cff"
|
||||
push:
|
||||
paths-ignore:
|
||||
- '**/CITATION.cff'
|
||||
- "**/CITATION.cff"
|
||||
|
||||
jobs:
|
||||
build-ubuntu:
|
||||
@ -26,11 +26,10 @@ jobs:
|
||||
- name: default position_test
|
||||
run: cd build && cmake -DENABLE_SYSTEM_TESTING_EXTRA=ON .. && ninja && ../install/position_test
|
||||
|
||||
|
||||
build-macos:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v3.0.2
|
||||
- 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
|
||||
@ -42,11 +41,10 @@ jobs:
|
||||
- name: default position_test
|
||||
run: cd build && cmake -DENABLE_SYSTEM_TESTING_EXTRA=ON .. && ninja && ../install/position_test
|
||||
|
||||
|
||||
clang-format:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v3.0.2
|
||||
- name: install dependencies
|
||||
run: brew install clang-format
|
||||
- name: run clang-format
|
||||
@ -54,7 +52,6 @@ jobs:
|
||||
- name: check
|
||||
run: git diff > clang_format.patch && echo -e "if \n [ -s clang_format.patch ] \nthen \n echo "clang-format not applied:"; echo ""; more clang_format.patch; exit 1 \nfi \n" > detect && chmod +x ./detect && ./detect
|
||||
|
||||
|
||||
clang-tidy:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
@ -68,7 +65,6 @@ jobs:
|
||||
- name: check
|
||||
run: git diff > clang_tidy.patch && echo -e "if \n [ -s clang_tidy.patch ] \nthen \n echo "clang_tidy not applied:"; echo ""; more clang_tidy.patch; exit 1 \nfi \n" > detect && chmod +x ./detect && ./detect
|
||||
|
||||
|
||||
cpplint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@ -90,7 +86,6 @@ jobs:
|
||||
--exclude=./src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cpu_features/test/hwcaps_for_testing.*
|
||||
--exclude=./src/utils/nav-listener/build/nav_message.pb.h"
|
||||
|
||||
|
||||
prettier-markdown:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@ -100,7 +95,6 @@ jobs:
|
||||
- name: check markdown
|
||||
run: find . -iname "*.md" | xargs prettier --parser markdown --print-width 80 --prose-wrap always --list-different
|
||||
|
||||
|
||||
cmakelint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@ -112,7 +106,6 @@ jobs:
|
||||
- name: check CMake scripts
|
||||
run: find . -iname "CMakeLists.txt" -o -iname "*.cmake" | xargs cmakelint --filter=-linelength,-readability/wonkycase
|
||||
|
||||
|
||||
volk-gnsssdr-windows:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
@ -135,7 +128,6 @@ jobs:
|
||||
- name: run profile
|
||||
run: cd 'C:\Program Files (x86)\volk_gnsssdr\bin'; .\volk_gnsssdr_profile.exe
|
||||
|
||||
|
||||
volk-gnsssdr-ubuntu:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@ -151,11 +143,10 @@ jobs:
|
||||
- name: test
|
||||
run: volk_gnsssdr_profile
|
||||
|
||||
|
||||
volk-gnsssdr-macos:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v3.0.2
|
||||
- name: install dependencies
|
||||
run: pip3 install mako
|
||||
- name: configure
|
||||
@ -165,11 +156,10 @@ jobs:
|
||||
- name: test
|
||||
run: cd build && ctest -C Release --exclude-regex volk_gnsssdr_32fc_32f_rotator_dotprodxnpuppet_32fc
|
||||
|
||||
|
||||
volk-gnsssdr-macos-xcode:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v3.0.2
|
||||
- name: install dependencies
|
||||
run: pip3 install mako
|
||||
- name: configure
|
||||
@ -181,7 +171,6 @@ jobs:
|
||||
- name: test
|
||||
run: cd build && ctest -C Release --exclude-regex volk_gnsssdr_32fc_32f_rotator_dotprodxnpuppet_32fc
|
||||
|
||||
|
||||
shellcheck:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@ -191,7 +180,6 @@ jobs:
|
||||
- name: check scripts
|
||||
run: shellcheck src/utils/scripts/*
|
||||
|
||||
|
||||
REUSE-compliance:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
Loading…
Reference in New Issue
Block a user