Update cmake.yml to modify cxxflags (#3151)

Use the same CXXFLAGS in Github Pipelines as we do in Gitlab Pipelines
pull/3153/head
Bret Curtis 3 years ago committed by GitHub
parent 442a0e8434
commit 40f18d6a8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,7 +27,7 @@ jobs:
max-size: 1000M max-size: 1000M
- name: Configure - name: Configure
run: cmake -S . -B . -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache run: cmake -S . -B . -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_FLAGS='-Werror' -DCMAKE_CXX_FLAGS="-Werror -Wno-error=deprecated-declarations -Wno-error=nonnull -Wno-error=deprecated-copy"
- name: Build - name: Build
run: cmake --build . --config ${{env.BUILD_TYPE}} --parallel 3 run: cmake --build . --config ${{env.BUILD_TYPE}} --parallel 3

Loading…
Cancel
Save