mirror of
https://github.com/triqs/dft_tools
synced 2024-12-23 04:43:42 +01:00
[build] update github workflow to match triqs unstable req
This commit is contained in:
parent
cd3776baca
commit
6df646ea0b
28
.github/workflows/build.yml
vendored
28
.github/workflows/build.yml
vendored
@ -13,9 +13,9 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- {os: ubuntu-20.04, cc: gcc-10, cxx: g++-10}
|
||||
- {os: ubuntu-20.04, cc: clang-13, cxx: clang++-13}
|
||||
- {os: macos-12, cc: gcc-11, cxx: g++-11}
|
||||
- {os: ubuntu-22.04, cc: gcc-12, cxx: g++-12}
|
||||
- {os: ubuntu-22.04, cc: clang-15, cxx: clang++-15}
|
||||
- {os: macos-12, cc: gcc-12, cxx: g++-12}
|
||||
- {os: macos-12, cc: /usr/local/opt/llvm/bin/clang, cxx: /usr/local/opt/llvm/bin/clang++}
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
@ -24,22 +24,22 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install ubuntu dependencies
|
||||
if: matrix.os == 'ubuntu-20.04'
|
||||
if: matrix.os == 'ubuntu-22.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 13 &&
|
||||
sudo apt-get install
|
||||
clang-13
|
||||
g++-10
|
||||
gfortran-10
|
||||
clang-15
|
||||
g++-12
|
||||
gfortran-12
|
||||
hdf5-tools
|
||||
libblas-dev
|
||||
libboost-dev
|
||||
libclang-13-dev
|
||||
libc++-13-dev
|
||||
libc++abi-13-dev
|
||||
libomp-13-dev
|
||||
libclang-15-dev
|
||||
libc++-15-dev
|
||||
libc++abi-15-dev
|
||||
libomp-15-dev
|
||||
libfftw3-dev
|
||||
libgfortran5
|
||||
libgmp-dev
|
||||
@ -49,7 +49,7 @@ jobs:
|
||||
openmpi-bin
|
||||
openmpi-common
|
||||
openmpi-doc
|
||||
python3-clang-13
|
||||
python3-clang-15
|
||||
python3-dev
|
||||
python3-mako
|
||||
python3-matplotlib
|
||||
@ -63,7 +63,7 @@ jobs:
|
||||
- name: Install homebrew dependencies
|
||||
if: matrix.os == 'macos-12'
|
||||
run: |
|
||||
brew install gcc@11 llvm boost fftw hdf5 open-mpi openblas
|
||||
brew install gcc@12 llvm boost fftw hdf5 open-mpi openblas
|
||||
pip3 install mako numpy scipy mpi4py
|
||||
pip3 install -r requirements.txt
|
||||
|
||||
@ -82,7 +82,7 @@ jobs:
|
||||
env:
|
||||
CC: ${{ matrix.cc }}
|
||||
CXX: ${{ matrix.cxx }}
|
||||
FC: gfortran-10
|
||||
FC: gfortran-12
|
||||
LIBRARY_PATH: /usr/local/opt/llvm/lib
|
||||
run: |
|
||||
source $HOME/install/share/triqs/triqsvars.sh
|
||||
|
Loading…
Reference in New Issue
Block a user