-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
49 lines (37 loc) · 1.42 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
38
39
40
41
42
43
44
45
46
47
48
49
version: '{build}'
clone_depth: 5
# https://www.appveyor.com/docs/build-environment/#build-worker-images
image: Visual Studio 2017
test: off
environment:
CMAKE_CONFIGURATION: Release
matrix:
- CMAKE_GENERATOR: "Visual Studio 15 2017"
ARCH: "x86"
# https://www.appveyor.com/docs/lang/cpp/
VCVARS_SCRIPT: "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Auxiliary/Build/vcvars32.bat"
- CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
ARCH: "x64"
VCVARS_SCRIPT: "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Auxiliary/Build/vcvars64.bat"
install:
# Load command-line tools (lib.exe)
- cmd: call "%VCVARS_SCRIPT%"
- cmd: echo "Get SuperCollider"
- cmd: git clone --recursive --depth 1 https://github.com/supercollider/supercollider ../supercollider
before_build:
- mkdir build
- cd build
build_script:
- cmake -G "%CMAKE_GENERATOR%" -DSC_PATH=../supercollider -DCMAKE_INSTALL_PREFIX=_install ..
- cmake --build . --target install --config %CMAKE_CONFIGURATION%
artifacts:
- path: build\_install
name: triangleptr-windows-$(ARCH)-$(APPVEYOR_REPO_TAG_NAME)
# deploy:
# - provider: GitHub
# description: PTR variable slope triangle wave oscillator - Release $(APPVEYOR_REPO_TAG_NAME)
# artifact: triangleptr-windows-$(ARCH)-$(APPVEYOR_REPO_TAG_NAME)
# auth_token:
# secure: YOUR_TOKEN_HERE
# on:
# appveyor_repo_tag: true