Skip to content

Commit

Permalink
Fix appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
huxingyi committed Apr 14, 2018
1 parent c68f88f commit d96d1b6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ cache:
CGAL-4.11.1-Setup.exe -> appveyor.yml

install:
- if "%PLATFORM%" == "x86"
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
- if "%PLATFORM%" == "x64"
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
- if "%PLATFORM%" == "x64"
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
- if not exist CGAL-4.11.1.zip
appveyor DownloadFile https://github.com/CGAL/cgal/releases/download/releases/CGAL-4.11.1/CGAL-4.11.1-Setup.exe -FileName CGAL-4.11.1-Setup.exe
- CGAL-4.11.1-Setup.exe /S /D=%APPVEYOR_BUILD_FOLDER%\CGAL-4.11.1
Expand All @@ -29,12 +35,6 @@ install:
build: false

test_script:
- if "%PLATFORM%" == "x86"
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
- if "%PLATFORM%" == "x64"
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
- if "%PLATFORM%" == "x64"
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
- set PATH=%PATH%;%QTDIR%\bin
- qmake "BOOST_INCLUDEDIR=C:\Libraries\boost_1_66_0" "CGAL_DIR=%APPVEYOR_BUILD_FOLDER%\CGAL-4.11.1"
- nmake -f Makefile.Release
Expand Down

0 comments on commit d96d1b6

Please sign in to comment.