]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
attempt to run 'make check' tests on Appveyor
authorYann Collet <cyan@fb.com>
Fri, 18 Oct 2019 21:52:16 +0000 (14:52 -0700)
committerYann Collet <cyan@fb.com>
Fri, 18 Oct 2019 21:52:16 +0000 (14:52 -0700)
for mingw builds

appveyor.yml

index 35f019dd6b09a3435fe3078d359222df4a024377..9a3d533847c8589e80c95a84e7d619e5e8176b78 100644 (file)
@@ -1,3 +1,7 @@
+# Following tests are run _only_ on master branch
+# To reproduce these tests, it's possible to push into a branch `appveyorTest`
+# or a branch `visual*`, they will intentionnally trigger `master` tests
+
 -
   version: 1.0.{build}
   branches:
       fuzzer_VS2015_%PLATFORM%_Release.exe %FUZZERTEST%
     )
 
+
+# The following tests are for regular pushes
+# into `dev` or some feature branch
+# There run less tests, for shorter feedback loop
+
 -
   version: 1.0.{build}
   environment:
       COPY build\VS2010\bin\%PLATFORM%_%CONFIGURATION%\fuzzer.exe tests\fuzzer_VS2015_%PLATFORM%_%CONFIGURATION%.exe &&
       COPY build\VS2010\bin\%PLATFORM%_%CONFIGURATION%\*.exe tests\
     )
+
+
+  test_script:
+  - ECHO Testing %COMPILER% %PLATFORM% %CONFIGURATION%
+  - if [%HOST%]==[mingw] (
+      SET CC=%COMPILER%
+      make check
+    )