chiark / gitweb /
test shared libs on appveyor (#142)
authorJulien Schueller <schueller@phimeca.com>
Mon, 11 Sep 2017 06:50:14 +0000 (08:50 +0200)
committerGitHub <noreply@github.com>
Mon, 11 Sep 2017 06:50:14 +0000 (08:50 +0200)
Test shared libs on appveyor

appveyor.yml

index 259640349b1e22587f31eb7cbe8604a334d9fc18..2d4a73a91bfb9baa35a21a95ac3c8ee89f20905e 100644 (file)
@@ -11,12 +11,13 @@ environment:
   matrix:
     - CMAKE_PLATFORM: "Visual Studio 14 2015"
     - CMAKE_PLATFORM: "Visual Studio 14 2015 Win64"
-#install:
-  #- cinstall: python
+install:
+  - cinstall: python
   #- choco install swig
 build_script:
   - echo Running cmake...
   - cd c:\projects\nlopt
-  - cmake -G "%CMAKE_PLATFORM%" -DBUILD_SHARED_LIBS=OFF -DWITH_CXX=ON -DCMAKE_INSTALL_PREFIX="C:\projects\nlopt\install" .
+  - cmake -G "%CMAKE_PLATFORM%" -DWITH_CXX=ON -DCMAKE_INSTALL_PREFIX="C:\projects\nlopt\install" .
   - cmake --build . --config %Configuration% --target install
+  - xcopy Release\nlopt_cxx.dll test\Release
   - ctest -C %Configuration% --output-on-failure --timeout 100