Skip to content

Commit

Permalink
[ghactions] Bump ubuntu builds to clang12 and osx builds to gcc11
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentzell committed May 27, 2021
1 parent 33b548e commit 429e625
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
matrix:
include:
- {os: ubuntu-20.04, cc: gcc-10, cxx: g++-10}
- {os: ubuntu-20.04, cc: clang-10, cxx: clang++-10}
- {os: macos-10.15, cc: gcc-10, cxx: g++-10}
- {os: ubuntu-20.04, cc: clang-12, cxx: clang++-12}
- {os: macos-10.15, cc: gcc-11, cxx: g++-11}
- {os: macos-10.15, cc: /usr/local/opt/llvm/bin/clang, cxx: /usr/local/opt/llvm/bin/clang++}

runs-on: ${{ matrix.os }}
Expand All @@ -27,26 +27,28 @@ jobs:
if: matrix.os == 'ubuntu-20.04'
run: >
sudo apt-get update &&
sudo apt-get install lsb-release wget software-properties-common &&
wget -O /tmp/llvm.sh https://apt.llvm.org/llvm.sh && sudo chmod +x /tmp/llvm.sh && sudo /tmp/llvm.sh 12 &&
sudo apt-get install
clang-10
clang-12
g++-10
gfortran
hdf5-tools
libblas-dev
libboost-dev
libclang-10-dev
libc++-10-dev
libc++abi-10-dev
libclang-12-dev
libc++-12-dev
libc++abi-12-dev
libfftw3-dev
libgfortran4
libgfortran5
libgmp-dev
libhdf5-dev
liblapack-dev
libopenmpi-dev
openmpi-bin
openmpi-common
openmpi-doc
python3-clang-10
python3-clang-12
python3-dev
python3-mako
python3-matplotlib
Expand All @@ -60,7 +62,7 @@ jobs:
- name: Install homebrew dependencies
if: matrix.os == 'macos-10.15'
run: |
brew install gcc@10 llvm boost fftw hdf5 open-mpi openblas
brew install gcc@11 llvm boost fftw hdf5 open-mpi openblas
pip3 install mako numpy scipy mpi4py
pip3 install -r requirements.txt
Expand Down

0 comments on commit 429e625

Please sign in to comment.