Skip to content

Commit

Permalink
build: maybe now fix compilers?
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubfi committed Jun 24, 2024
1 parent cc68fa2 commit f9b0a24
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,18 @@ on:

jobs:
build:
name: build on ${{matrix.os}} with ${{matrix.compiler}}
name: build on ${{matrix.os}} with ${{matrix.compiler.compiler}}
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ ubuntu-latest ]
compiler: [ gcc, clang ]
compiler:
- { compiler: GCC, CC: gcc, CXX: g++ }
- { compiler: CLANG, CC: clang, CXX: clang++ }
env:
BUILD_TYPE: Release
CC: ${{matrix.compiler}}
CXX: ${{matrix.compiler}}
CC: ${{matrix.compiler.CC}}
CXX: ${{matrix.compiler.CXX}}

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit f9b0a24

Please sign in to comment.