Jérémie Dumas 6 лет назад
Родитель
Сommit
6952f3f158
1 измененных файлов с 6 добавлено и 5 удалено
  1. 6 5
      .appveyor.yml

+ 6 - 5
.appveyor.yml

@@ -9,9 +9,9 @@ branches:
     - dev
 environment:
   matrix:
-  - config: Debug
+  - CONFIG: Debug
     BOOST_ROOT: C:/Libraries/boost_1_65_1
-    PYTHON_VERSION: 37
+    PYTHON: 37
 install:
   - cinstall: python
 build:
@@ -35,12 +35,13 @@ build_script:
   # - ${PYTHON} 101_FileIO.py
   # - cd ../../
   # Tutorials and tests
+  - set PATH="C:\Python%PYTHON%-64\;C:\Python%PYTHON%-64\Scripts;%PATH%"
   - mkdir build
   - cd build
-  - cmake -DCMAKE_BUILD_TYPE=%config% -DLIBIGL_WITH_CGAL=ON -DLIBIGL_WITH_COMISO=OFF -DPYTHON_EXECUTABLE="C:\Python%PYTHON_VERSION%_64\python.exe" -G "Visual Studio 15 2017 Win64" ../
+  - cmake -DCMAKE_BUILD_TYPE=%CONFIG% -DLIBIGL_WITH_CGAL=ON -DLIBIGL_WITH_COMISO=OFF -G "Visual Studio 15 2017 Win64" ../
   - set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
-  - set MSBuildOptions=/v:m /p:Configuration=%config% /logger:%MSBuildLogger%
+  - set MSBuildOptions=/v:m /p:Configuration=%CONFIG% /logger:%MSBuildLogger%
   - msbuild %MSBuildOptions% libigl.sln
 
 test_script:
-  - ctest -C %config% --verbose --output-on-failure -j 2
+  - ctest -C %CONFIG% --verbose --output-on-failure -j 2