Skip to content

Commit

Permalink
name is a field of the compiler entry
Browse files Browse the repository at this point in the history
  • Loading branch information
cwsmith committed Sep 7, 2024
1 parent f3e9bd3 commit 88a39f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
fail-fast: false
matrix:
compiler:
- { compiler: "GNU", CC: gcc-10, CXX: g++-10 }
- { compiler: "LLVM", CC: clang, CXX: clang++ }
- { name: GNU, CC: gcc-10, CXX: g++-10 }
- { name: LLVM, CC: clang, CXX: clang++ }
build_type: [Debug, Release]

steps:
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:

- name: Build User Project
# only need to test with a single build config if the installed cmake config files work
if: matrix.compiler == 'GNU' # && matrix.build_type == 'Release' #the compiler comparison is wrong
if: matrix.compiler.name == 'GNU' && matrix.build_type == 'Release'
env:
MPICH_CXX: ${{matrix.compiler.CXX}}
MPICH_CC: ${{matrix.compiler.CC}}
Expand Down

0 comments on commit 88a39f6

Please sign in to comment.