-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build on windows
- Loading branch information
Nicolas CATTANEO
committed
Mar 5, 2018
1 parent
321595a
commit 86c4853
Showing
3 changed files
with
37 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
version: 0.4.{build}a | ||
version: 1.0.{build} | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
before_build: | ||
- mkdir build | ||
- cd build | ||
- cmake -DCMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%/build/install .. | ||
image: | ||
- Visual Studio 2015 | ||
- Visual Studio 2017 | ||
init: | ||
#- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) | ||
|
||
build_script: | ||
- cd %APPVEYOR_BUILD_FOLDER% | ||
- mkdir build | ||
- cd build | ||
- cmake .. | ||
- cmake --build . | ||
- cmake --build . --target install --config Release | ||
|
||
test_script: | ||
- cmd /c %APPVEYOR_BUILD_FOLDER%/build/src/wave/Debug/wave_tests.exe | ||
- cmd: C:/projects/wave/build/src/wave/Debug/wave_test.exe --gtest_output=xml:tests.xml | ||
|
||
after_test: | ||
- ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\tests.xml)) | ||
|
||
artifacts: | ||
- path: build/install | ||
on_finish: | ||
#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters