Skip to content

Commit

Permalink
ci: Separate cflags from cc
Browse files Browse the repository at this point in the history
  • Loading branch information
nwellnhof authored and jgm committed Mar 17, 2024
1 parent 55be74f commit ca13356
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,17 @@ jobs:
- '-DBUILD_SHARED_LIBS=YES'
- ''
compiler:
- c: 'clang -gdwarf-4'
cpp: 'clang++ -gdwarf-4'
- c: 'clang'
cpp: 'clang++'
cflags: '-gdwarf-4'
- c: 'gcc'
cpp: 'g++'
env:
CMAKE_OPTIONS: ${{ matrix.cmake_opts }}
CC: ${{ matrix.compiler.c }}
CXX: ${{ matrix.compiler.cpp }}
CFLAGS: ${{ matrix.compiler.cflags }}
CXXFLAGS: ${{ matrix.compiler.cflags }}

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

0 comments on commit ca13356

Please sign in to comment.