Skip to content

Commit

Permalink
modified gpp and clang forkflows to set both cxx and c compilers corr…
Browse files Browse the repository at this point in the history
…ectly
  • Loading branch information
SpectraL519 committed Mar 12, 2024
1 parent 290c2d6 commit d7aceb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
CXX: clang++-14
run: |
cd example
cmake -B build -DCMAKE_CXX_COMPILER=clang++-14
cmake -B build -DCMAKE_CXX_COMPILER=clang++-14 -DCMAKE_C_COMPILER=clang-14
cd build
make
continue-on-error: false
2 changes: 1 addition & 1 deletion .github/workflows/gpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
CXX: g++-11
run: |
cd example
cmake -B build -DCMAKE_CXX_COMPILER=g++-11
cmake -B build -DCMAKE_CXX_COMPILER=g++-11 -DCMAKE_C_COMPILER=gcc-11
cd build
make
continue-on-error: false

0 comments on commit d7aceb9

Please sign in to comment.