disable warning as error on MSVC test

This commit is contained in:
Alfi Maulana 2023-01-17 13:06:32 +07:00
parent 6548c2aab5
commit 716f237b51
No known key found for this signature in database
GPG Key ID: 2242A64C2A8DF5A4

View File

@ -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