]> granicus.if.org Git - check/commitdiff
Test additional AppVeyor builds
authorbel2125 <bel2125@gmail.com>
Wed, 30 Aug 2017 11:13:05 +0000 (13:13 +0200)
committerbel2125 <bel2125@gmail.com>
Wed, 30 Aug 2017 11:13:05 +0000 (13:13 +0200)
appveyor.yml
lib/CMakeLists.txt

index 44c51937635a1cfd264b4777cf33816a48fe4f99..ef73d923fa054a7c393143392cdee06b442c9baa 100644 (file)
@@ -105,6 +105,7 @@ before_build:
   - if %platform%==vs (
       set "makecommand=Visual Studio"
     )
+  - set "vcx=false"
   - if %platform%==vs (
       set "vcx=true"
     )
@@ -172,20 +173,15 @@ before_build:
 
 build_script:
   # build code and unit tests
+  - dir
   - if %platform%==msvc nmake
-  - if %platform%==vs (
-      if %vcx%==true (
-        msbuild /p:Platform=%arch% "ALL_BUILD.vcxproj"
-      )
-    )
-  - if %platform%==vs (
-      if %vcx%==false (
-        msbuild "ALL_BUILD.vcproj"
-      )
-    )
   - if %platform%==cygwin bash -c "make"
   - if %platform%==mingw32 mingw32-make
   - if %platform%==mingw64msys bash -c "make"
+  - if %vcx%==true msbuild /p:Platform=%arch% "ALL_BUILD.vcxproj"
+
+# TODO: msbuild does not work with .vcproj files
+
 
 test_script:
   # run unit tests
index 1eed224d3573645044a768aa3def2f00a92a4e07..fabfdf25384b8d7fd0366154343046ee2628f041 100644 (file)
@@ -21,7 +21,7 @@
 
 set(SOURCES libcompat.c)
 
-set(SOURCES fpclassify.c)
+set(SOURCES ${SOURCES} fpclassify.c)
 
 if (NOT HAVE_LIBRT)
   set(SOURCES ${SOURCES} clock_gettime.c)