-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
54 lines (43 loc) · 1.36 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
51
52
53
54
version: 0.1.{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
- C:\ProgramData\chocolatey\lib -> appveyor.yml
build_script:
- SET PATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\Hostx64\x64;C:\Program Files\Git\usr\bin;%PATH%
- SET PYTHON=C:\Python36-x64\python.exe
- C:\Python36-x64\python.exe -m pip install pip --upgrade
- C:\Python36-x64\python.exe -m pip install conan flawfinder
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
- curl -o mkn.exe -L https://github.com/Dekken/maiken/raw/binaries/win10_x64/mkn.exe
- call mkn.bat
- rm "C:\Program Files\Git\usr\bin\link.exe" # messes with msvc link.exe
- bash -c "PATH=\"$PWD:/c/Python36-x64/:/c/Program Files/Git/usr/bin:$PATH\"; res/appveyor/run.sh"
artifacts:
- path: '*.tar'
deploy:
- provider: BinTray
username: dekken
api_key:
secure: FGDIE5oZsFn49kRhIK98X2JAqXwvReVl1nSlKNlo3pYCtosD2r9YfkHHhAJcjcyE
subject: mkn
repo: parse.yaml
package: mkn
publish: true
override: true
explode: true
artifact: /.*\.tar/
version: master