Skip to content

Commit

Permalink
add .appveyor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wojdyr committed Aug 7, 2022
1 parent f594847 commit 93a32ef
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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

0 comments on commit 93a32ef

Please sign in to comment.