3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-22 20:34:38 +01:00

[ghactions] Bump ubuntu builds to clang12 and osx builds to gcc11

This commit is contained in:
Nils Wentzell 2021-05-27 15:31:16 -04:00
parent 33b548eb59
commit 429e625d09

View File

@ -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 }}
@ -27,18 +27,20 @@ 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
@ -46,7 +48,7 @@ jobs:
openmpi-bin
openmpi-common
openmpi-doc
python3-clang-10
python3-clang-12
python3-dev
python3-mako
python3-matplotlib
@ -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