mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-31 19:29:17 +00:00
CI: Workaround for failing macos-based jobs
This commit is contained in:
parent
c47ad2d902
commit
62a8547e62
69
.github/workflows/main.yml
vendored
69
.github/workflows/main.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
build-ubuntu:
|
build-ubuntu:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -y
|
sudo apt-get update -y
|
||||||
@ -39,14 +39,23 @@ jobs:
|
|||||||
build-macos:
|
build-macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: |
|
run: |
|
||||||
brew update
|
brew update
|
||||||
brew install --overwrite python@3.10 python@3.11
|
rm /usr/local/bin/2to3 || true
|
||||||
python3.11 -m pip install mako
|
rm /usr/local/bin/idle3 || true
|
||||||
brew install ninja pkg-config hdf5 automake armadillo lapack \
|
rm /usr/local/bin/pydoc3 || true
|
||||||
|
rm /usr/local/bin/python3 || true
|
||||||
|
rm /usr/local/bin/python3-config || true
|
||||||
|
rm /usr/local/bin/2to3-3.11 || true
|
||||||
|
rm /usr/local/bin/idle3.11 || true
|
||||||
|
rm /usr/local/bin/pydoc3.11 || true
|
||||||
|
rm /usr/local/bin/python3.11 || true
|
||||||
|
rm /usr/local/bin/python3.11-config || true
|
||||||
|
brew install ninja hdf5 automake armadillo lapack \
|
||||||
gflags glog gnuradio log4cpp openssl pugixml protobuf
|
gflags glog gnuradio log4cpp openssl pugixml protobuf
|
||||||
|
pip3 install mako
|
||||||
- name: configure
|
- name: configure
|
||||||
run: cd build && cmake -GNinja ..
|
run: cd build && cmake -GNinja ..
|
||||||
- name: build
|
- name: build
|
||||||
@ -59,14 +68,23 @@ jobs:
|
|||||||
build-macos-xcode:
|
build-macos-xcode:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: |
|
run: |
|
||||||
brew update
|
brew update
|
||||||
brew install --overwrite python@3.10 python@3.11
|
rm /usr/local/bin/2to3 || true
|
||||||
python3.11 -m pip install mako
|
rm /usr/local/bin/idle3 || true
|
||||||
|
rm /usr/local/bin/pydoc3 || true
|
||||||
|
rm /usr/local/bin/python3 || true
|
||||||
|
rm /usr/local/bin/python3-config || true
|
||||||
|
rm /usr/local/bin/2to3-3.11 || true
|
||||||
|
rm /usr/local/bin/idle3.11 || true
|
||||||
|
rm /usr/local/bin/pydoc3.11 || true
|
||||||
|
rm /usr/local/bin/python3.11 || true
|
||||||
|
rm /usr/local/bin/python3.11-config || true
|
||||||
brew install ninja pkg-config hdf5 automake armadillo lapack gflags glog \
|
brew install ninja pkg-config hdf5 automake armadillo lapack gflags glog \
|
||||||
gnuradio log4cpp openssl pugixml protobuf
|
gnuradio log4cpp openssl pugixml protobuf
|
||||||
|
pip3 install mako
|
||||||
- name: configure
|
- name: configure
|
||||||
run: cd build && cmake -GXcode ..
|
run: cd build && cmake -GXcode ..
|
||||||
- name: build
|
- name: build
|
||||||
@ -87,7 +105,7 @@ jobs:
|
|||||||
clang-format:
|
clang-format:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: run clang-format
|
- name: run clang-format
|
||||||
uses: jidicula/clang-format-action@v4.11.0
|
uses: jidicula/clang-format-action@v4.11.0
|
||||||
with:
|
with:
|
||||||
@ -98,14 +116,23 @@ jobs:
|
|||||||
clang-tidy:
|
clang-tidy:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: |
|
run: |
|
||||||
brew update
|
brew update
|
||||||
brew install --overwrite python@3.10 python@3.11
|
rm /usr/local/bin/2to3 || true
|
||||||
python3.11 -m pip install mako
|
rm /usr/local/bin/idle3 || true
|
||||||
|
rm /usr/local/bin/pydoc3 || true
|
||||||
|
rm /usr/local/bin/python3 || true
|
||||||
|
rm /usr/local/bin/python3-config || true
|
||||||
|
rm /usr/local/bin/2to3-3.11 || true
|
||||||
|
rm /usr/local/bin/idle3.11 || true
|
||||||
|
rm /usr/local/bin/pydoc3.11 || true
|
||||||
|
rm /usr/local/bin/python3.11 || true
|
||||||
|
rm /usr/local/bin/python3.11-config || true
|
||||||
brew install llvm pkg-config hdf5 armadillo lapack gflags glog gnuradio libmatio \
|
brew install llvm pkg-config hdf5 armadillo lapack gflags glog gnuradio libmatio \
|
||||||
log4cpp openssl pugixml protobuf
|
log4cpp openssl pugixml protobuf
|
||||||
|
pip3 install mako
|
||||||
ln -s $(brew --prefix llvm)/bin/clang-tidy /usr/local/bin
|
ln -s $(brew --prefix llvm)/bin/clang-tidy /usr/local/bin
|
||||||
ln -s $(brew --prefix llvm)/bin/clang-apply-replacements /usr/local/bin
|
ln -s $(brew --prefix llvm)/bin/clang-apply-replacements /usr/local/bin
|
||||||
ln -s $(brew --prefix llvm)/bin/run-clang-tidy /usr/local/bin
|
ln -s $(brew --prefix llvm)/bin/run-clang-tidy /usr/local/bin
|
||||||
@ -123,7 +150,7 @@ jobs:
|
|||||||
cpplint:
|
cpplint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: sudo apt-get install python3-pip && sudo pip3 install cpplint
|
run: sudo apt-get install python3-pip && sudo pip3 install cpplint
|
||||||
- name: run checks
|
- name: run checks
|
||||||
@ -144,7 +171,7 @@ jobs:
|
|||||||
prettier-markdown:
|
prettier-markdown:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: sudo npm install --global prettier
|
run: sudo npm install --global prettier
|
||||||
- name: check markdown
|
- name: check markdown
|
||||||
@ -153,7 +180,7 @@ jobs:
|
|||||||
cmakelint:
|
cmakelint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo python -m pip install --upgrade pip
|
sudo python -m pip install --upgrade pip
|
||||||
@ -164,7 +191,7 @@ jobs:
|
|||||||
volk-gnsssdr-windows:
|
volk-gnsssdr-windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
@ -186,7 +213,7 @@ jobs:
|
|||||||
volk-gnsssdr-ubuntu:
|
volk-gnsssdr-ubuntu:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: sudo apt install python3-mako liborc-dev
|
run: sudo apt install python3-mako liborc-dev
|
||||||
- name: configure
|
- name: configure
|
||||||
@ -201,7 +228,7 @@ jobs:
|
|||||||
volk-gnsssdr-macos:
|
volk-gnsssdr-macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: pip3 install mako
|
run: pip3 install mako
|
||||||
- name: configure
|
- name: configure
|
||||||
@ -214,7 +241,7 @@ jobs:
|
|||||||
volk-gnsssdr-macos-xcode:
|
volk-gnsssdr-macos-xcode:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: pip3 install mako
|
run: pip3 install mako
|
||||||
- name: configure
|
- name: configure
|
||||||
@ -229,7 +256,7 @@ jobs:
|
|||||||
shellcheck:
|
shellcheck:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: sudo apt install shellcheck
|
run: sudo apt install shellcheck
|
||||||
- name: check scripts
|
- name: check scripts
|
||||||
@ -238,7 +265,7 @@ jobs:
|
|||||||
REUSE-compliance:
|
REUSE-compliance:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Check REUSE compliance
|
- name: Check REUSE compliance
|
||||||
uses: docker://fsfe/reuse
|
uses: docker://fsfe/reuse
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user