diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2021-10-30 13:03:04 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2021-10-30 13:03:04 +0300 |
commit | 0dbdc697c69079c2ba28fdedc2b3ac559543411f (patch) | |
tree | 076b722d2bf65ddc1467a720bcaa6977242d4828 | |
parent | e73c0f624556950e99b2d6220f2606133795ca8c (diff) | |
download | libatomic_ops-0dbdc697c69079c2ba28fdedc2b3ac559543411f.tar.gz |
AppVeyor CI: Treat compiler warnings as errors
-rw-r--r-- | .appveyor.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index a25e28a..03ea75f 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -4,6 +4,7 @@ clone_depth: 50 environment: MS_SDK_VER: v7.1 + TEST_TARGET: check matrix: - CPU: x86 BLD: debug @@ -20,7 +21,7 @@ install: - cmd: '"C:\Program Files\Microsoft SDKs\Windows\%MS_SDK_VER%\Bin\SetEnv.cmd" /%CPU% /%BLD%' build_script: - - cmd: cd src && nmake -f Makefile.msft clean all CFLAGS_EXTRA="%CFLAGS_EXTRA%" && cd .. +- cmd: cd src && nmake -f Makefile.msft clean all CFLAGS_EXTRA="/WX %CFLAGS_EXTRA%" && cd .. test_script: - - cmd: cd src && nmake -f Makefile.msft check CFLAGS_EXTRA="%CFLAGS_EXTRA%" +- cmd: cd src && nmake -f Makefile.msft %TEST_TARGET% CFLAGS_EXTRA="/WX %CFLAGS_EXTRA%" |