-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
50 lines (35 loc) · 1.28 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
50
version: 0.5.{build}
branches:
only:
- master
max_jobs: 1
image:
- Visual Studio 2017
init:
- git config --global core.autocrlf input
clone_depth: 1
hosts:
queue-server: 127.0.0.1
db.server.com: 127.0.0.2
platform: x64
configuration: Release
cache:
- C:\ProgramData\chocolatey\bin -> appveyor.yml # swig.exe
- C:\ProgramData\chocolatey\lib -> appveyor.yml # supporting swig Lib files.
install:
- git submodule update --init
- curl -o mkn.exe -L https://ci.appveyor.com/api/projects/dekken/maiken/artifacts/bin/build/mkn.exe
- IF NOT EXIST C:\ProgramData\chocolatey\bin\swig.exe choco install tools\windows\swig.3.0.12.nupkg --yes --limit-output #> $null
- git clone https://github.com/X-DataInitiative/tick_appveyor -b master --depth 1 appveyor
build_script:
- cp "C:\Program Files (x86)\Windows Kits\10\bin\x64\rc.exe" %CD%
- cp %CD%\rc.exe %CD%\lib
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
# doesnt exist for somereason?
- mkdir -p "C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt"
# Python 3.7 TODO
# Python 3.6
- bash -c "PATH=\"$PWD:/c/Python36-x64/:/c/Program Files/Git/usr/bin:$PATH\"; tools/appveyor/run.sh"
artifacts:
- path: "dist\\*.whl"
name: Wheels