forked from CytopiaTeam/Cytopia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
31 lines (28 loc) · 1.05 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
version: 0.2-CIBuild-{build}
pull_requests:
do_not_increment_build_number: true
image: Visual Studio 2017
configuration: Release
clone_depth: 10
cache: C:/Users/appveyor/.conan/
environment:
BUTLER_API_KEY:
secure: PbT7/2muaC99K24vd6d+DMQETnal230eqmdPtw4tn+zqhwkKpSRIJgjRmJPxphBF
install:
- cmd: >-
git submodule update --init --recursive
choco install ninja -y
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
build_script:
- cmd: >-
cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DUSE_PMM=ON .
ninja install
test: off
deploy_script:
- ps: >-
if (($env:APPVEYOR_REPO_BRANCH -eq "master") -and (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER)) {
iex (new-object net.webclient).downloadstring('https://get.scoop.sh');
scoop install https://raw.githubusercontent.com/AnotherFoxGuy/scoop-bucket/master/butler.json;
butler push redist cytopia/cytopia:windows-ci --userversion $env:APPVEYOR_BUILD_VERSION;}
on_success:
- cmd: cmake -P cmake/pmm.cmake /Conan /Clean