Skip to content

Commit

Permalink
Merge pull request #120 from pynbody/gcc-version
Browse files Browse the repository at this point in the history
Remove old version of gcc no longer available in ubuntu from build matrix
  • Loading branch information
apontzen authored Oct 9, 2023
2 parents de173f7 + 1a3a56a commit 7a17b2f
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,9 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.7]
cxx: [g++-8, g++-9, g++-10]
include:
- os: macos-latest
python-version: 3.7
cxx: g++-10
os: [ubuntu-latest, macos-latest]
python-version: [3.11]
cxx: [g++-9, g++-13]
runs-on: ${{ matrix.os }}
env:
CXX: ${{ matrix.cxx }}
Expand All @@ -40,12 +36,12 @@ jobs:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update -qq
sudo apt install libfftw3-dev libgsl0-dev
sudo apt install gcc-8 g++-8 gcc-9 g++-9 gcc-10 g++-10
sudo apt install gcc-9 g++-9 gcc-13 g++-13
- name: Install dependencies
if: matrix.os == 'macos-latest'
shell: bash
run: |
brew install gcc@8 gcc@9 gcc@10 fftw gsl
brew install gcc@9 gcc@13 fftw gsl
brew link gsl
- name: Compile code
working-directory: genetIC
Expand Down

0 comments on commit 7a17b2f

Please sign in to comment.