-
Notifications
You must be signed in to change notification settings - Fork 107
/
appveyor.yml
47 lines (34 loc) · 1.22 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
version: 0.6.{build}
branches:
only:
- master
max_jobs: 1
image:
- Visual Studio 2019
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://github.com/Dekken/maiken/raw/binaries/win10_x64/mkn.exe
- IF NOT EXIST C:\ProgramData\chocolatey\bin\swig.exe choco install tools\windows\swig.4.0.0.nupkg --yes --limit-output
build_script:
- SET PATH=C:\Program Files\Git\usr\bin;%PATH%
- cp "C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\rc.exe" %CD%
- cp %CD%\rc.exe %CD%\lib
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
- cl # print compiler version
# doesnt exist for somereason?
#- mkdir -p "C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\cppwinrt"
- bash -c "PATH=\"$PWD:/c/Python37-x64/:/c/Program Files/Git/usr/bin:$PATH\"; tools/appveyor/run.sh"
artifacts:
- path: "dist\\*.whl"
name: Wheels