forked from quassel/quassel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
40 lines (32 loc) · 1.18 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
version: '{build}'
image: Visual Studio 2017
init:
- ps: |
function craft() {
& C:\python36\python.exe "C:\CraftMaster\$env:TARGET\craft\bin\craft.py" $args
if($LASTEXITCODE -ne 0) {exit $LASTEXITCODE}
}
install:
- ps: |
#use cmd to silence powershell behaviour for stderr
& cmd /C "git clone -q --depth=1 git://anongit.kde.org/craftmaster.git C:\CraftMaster\CraftMaster 2>&1"
& C:\python36\python.exe C:\CraftMaster\CraftMaster\CraftMaster.py --config $env:APPVEYOR_BUILD_FOLDER\.appveyor.ini --variables "APPVEYOR_BUILD_FOLDER=$env:APPVEYOR_BUILD_FOLDER" --target $env:TARGET
craft --add-blueprint-repository https://github.com/quassel/craft-blueprints-quassel.git
craft -p quassel/quassel
craft nsis
craft --install-deps quassel/quassel
build_script:
- ps: |
craft --no-cache --src-dir $env:APPVEYOR_BUILD_FOLDER quassel/quassel
after_build:
- ps: |
craft --src-dir $env:APPVEYOR_BUILD_FOLDER --package quassel/quassel
test_script:
- ps: |
craft --src-dir $env:APPVEYOR_BUILD_FOLDER --test quassel/quassel
environment:
matrix:
- TARGET: windows-msvc2017_64-cl
- TARGET: windows-msvc2017_32-cl
artifacts:
- path: binaries\*