mirror of
https://github.com/threeal/cmake-action.git
synced 2025-07-24 06:44:22 +00:00
disable warning as error on MSVC test
This commit is contained in:
parent
6548c2aab5
commit
716f237b51
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -53,8 +53,8 @@ jobs:
|
||||
with:
|
||||
source-dir: test
|
||||
targets: test_c test_cpp
|
||||
c-flags: ${{ matrix.compiler == 'msvc' && '/w' || '-Wno-unused-variable' }}
|
||||
cxx-flags: ${{ matrix.compiler == 'msvc' && '/w' || '-Wno-unused-variable' }}
|
||||
c-flags: ${{ matrix.compiler == 'msvc' && '/w /WX-' || '-Wno-unused-variable' }}
|
||||
cxx-flags: ${{ matrix.compiler == 'msvc' && '/w /WX-' || '-Wno-unused-variable' }}
|
||||
args: -D CHECK_SURPASS_WARNING=ON
|
||||
|
||||
- name: Run the build results
|
||||
|
Loading…
Reference in New Issue
Block a user