mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-30 22:36:39 +00:00
Update cmake.yml to modify cxxflags (#3151)
Use the same CXXFLAGS in Github Pipelines as we do in Gitlab Pipelines
This commit is contained in:
parent
442a0e8434
commit
40f18d6a8b
1 changed files with 1 additions and 1 deletions
2
.github/workflows/cmake.yml
vendored
2
.github/workflows/cmake.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
|||
max-size: 1000M
|
||||
|
||||
- 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
|
||||
run: cmake --build . --config ${{env.BUILD_TYPE}} --parallel 3
|
||||
|
|
Loading…
Reference in a new issue