-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.appveyor.yml
38 lines (28 loc) · 1.44 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: "{build}"
branches:
only:
- master
skip_tags: true
skip_branch_with_pr: true
max_jobs: 1
image: Visual Studio 2017
init:
- tzutil /s "Central European Standard Time"
- ps: ( git config --global core.symlinks true ) ; ( git config --global core.ignorecase false ) ; ( git config --global core.filemode true )
- ps: ( git config --global core.eol lf ) ; ( git config --global core.autocrlf false ) ; ( git config --global core.safecrlf false )
- ps: ( git config --global core.protectNTFS false ) ; ( git config --global core.sparseCheckout true )
environment:
PATH: c:\msvcxx\bin;c:\mingw\bin;C:\MinGW\msys\1.0\bin;c:\Program Files\CMake\bin;$(PATH);c:\local\imagemagick
BC_PATH: c:\msvcxx\bin\bc.exe
CONTINUOUS_INTEGRATION_SYSTEM: appveyor
clone_script:
- ps: git clone --quiet --no-checkout $( "https://github.com/" + $env:APPVEYOR_REPO_NAME + ".git" ) $env:APPVEYOR_BUILD_FOLDER
- ps: Set-Content $( $env:APPVEYOR_BUILD_FOLDER + "/.git/info/sparse-checkout" ) "/*`r`n!/tests/data/paths/" -Encoding Ascii
- ps: git -C $env:APPVEYOR_BUILD_FOLDER checkout --quiet $env:APPVEYOR_REPO_BRANCH
install:
- cinst cmake
- cinst imagemagick.app --yes --installArguments "/DIR=C:/local/imagemagick"
- vcpkg integrate remove
build_script:
- ps: .\make.ps1 -target debug -prefix c:/msvcxx -auto_setup
- ps: .\make.ps1 -target purge,bundle -BUILD_ID "$(Get-Date -UFormat %Y%m%d%H%M%S).codestation" -prefix c:/msvcxx -auto_setup