-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
30 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,24 @@ | ||
version: '{branch}-{build}' | ||
configuration: Release | ||
clone_depth: 1 | ||
environment: | ||
matrix: | ||
- CMAKE_GEN: Visual Studio 17 2022 Win64 | ||
- CMAKE_GEN: Visual Studio 12 2013 | ||
cache: | ||
- C:\ProgramData\chocolatey\bin | ||
- C:\ProgramData\chocolatey\lib | ||
build_script: | ||
- cmd: >- | ||
IF NOT EXIST C:\ProgramData\chocolatey\bin\swig.exe cinst -y --allow-empty-checksums swig | ||
cmake -D BOOST_ROOT=C:\Libraries\boost_1_63_0 -G "%CMAKE_GEN%" . | ||
cmake --build . --config Release --target install | ||
test_script: | ||
- cmd: >- | ||
set path=%cd%\inst\bin;%path% | ||
ctest -C Release -V | ||
artifacts: | ||
- path: inst | ||
version: '{branch}-{build}' | ||
configuration: Release | ||
clone_depth: 1 | ||
environment: | ||
matrix: | ||
- CMAKE_GEN: Visual Studio 17 2022 Win64 | ||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 | ||
BOOST: C:\Libraries\boost_1_77_0 | ||
- CMAKE_GEN: Visual Studio 12 2013 | ||
BOOST: C:\Libraries\boost_1_63_0 | ||
cache: | ||
- C:\ProgramData\chocolatey\bin | ||
- C:\ProgramData\chocolatey\lib | ||
build_script: | ||
- cmd: >- | ||
IF NOT EXIST C:\ProgramData\chocolatey\bin\swig.exe choco install --version 4.0.1 swig -y --limit-output | ||
cmake -D BOOST_ROOT=%BOOST% -G "%CMAKE_GEN%" . | ||
cmake --build . --config Release --target install | ||
test_script: | ||
- cmd: >- | ||
set path=%cd%\inst\bin;%path% | ||
ctest -C Release -V | ||
artifacts: | ||
- path: inst |
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