3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-23 04:43:42 +01:00

[gh-actions] Specify FC env variable during build

This commit is contained in:
Nils Wentzell 2021-02-03 11:32:07 -05:00
parent 6dccb363de
commit 60b1a247ce

View File

@ -30,7 +30,7 @@ jobs:
sudo apt-get install sudo apt-get install
clang-10 clang-10
g++-10 g++-10
gfortran gfortran-10
hdf5-tools hdf5-tools
libblas-dev libblas-dev
libboost-dev libboost-dev
@ -60,7 +60,7 @@ jobs:
- name: Install homebrew dependencies - name: Install homebrew dependencies
if: matrix.os == 'macos-10.15' if: matrix.os == 'macos-10.15'
run: | run: |
brew install gcc@10 gfortran llvm boost fftw hdf5 open-mpi openblas brew install gcc@10 llvm boost fftw hdf5 open-mpi openblas
pip3 install mako numpy scipy mpi4py pip3 install mako numpy scipy mpi4py
pip3 install -r requirements.txt pip3 install -r requirements.txt
@ -79,6 +79,7 @@ jobs:
env: env:
CC: ${{ matrix.cc }} CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }} CXX: ${{ matrix.cxx }}
FC: gfortran-10
LIBRARY_PATH: /usr/local/opt/llvm/lib LIBRARY_PATH: /usr/local/opt/llvm/lib
run: | run: |
source $HOME/install/share/triqs/triqsvars.sh source $HOME/install/share/triqs/triqsvars.sh