Skip to content

Commit

Permalink
CI: correct syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
stenczelt committed Sep 29, 2021
1 parent f498e23 commit 6bceef2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run_cmake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ jobs:
pip3 install numpy scipy matplotlib getdist anesthetic ipython mpi4py
- name: Run CMake - GCC
if: matrix.cc == "gcc"
if: ${{ env.cc == gcc }}
run: cmake -B build -DCMAKE_Fortran_COMPILER=gfortran-11 -DCMAKE_CXX_COMPILER=gcc-11

- name: Run CMake - AppleClang
if: matrix.cc == "clang"
if: ${{ env.cc == clang }}
run: cmake -B build -DCMAKE_Fortran_COMPILER=gfortran-11

- name: Build
Expand Down

0 comments on commit 6bceef2

Please sign in to comment.