-
Notifications
You must be signed in to change notification settings - Fork 5
/
.retired_appveyor.yml
53 lines (41 loc) · 1.17 KB
/
.retired_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
branches:
only:
- master
image:
- Visual Studio 2017
configuration: Release
init:
- ps: $commit = $env:APPVEYOR_REPO_COMMIT.SubString(0,7)
- ps: $timestamp = $env:APPVEYOR_REPO_COMMIT_TIMESTAMP.SubString(0,10)
- ps: >-
if($env:APPVEYOR_REPO_TAG -eq 'true') {
Update-AppveyorBuild -Version ("{0}-{1}" -f $env:APPVEYOR_REPO_TAG_NAME, $commit)
}else {
Update-AppveyorBuild -Version ("{0}-{1}-{2}" -f $env:APPVEYOR_REPO_BRANCH, $commit, $timestamp)
}
environment:
global:
PYTHON: C:\Python38
QT: C:\Qt\5.6.3\msvc2015
before_build:
- cmd: |-
set PATH=%PYTHON%;%PYTHON%\Scripts;%QT%\bin;%PATH%
mkdir src\build
build_script:
- cmd: |-
python .\ci_scripts\build_resources.py
artifacts:
- path: '.\src\build\*.rcc'
name: compiled_resources
deploy:
- provider: GitHub
auth_token:
secure: QM747yzK0qkUTP1k/zQXGbxvvWK97YQpC5+6oAX6FTCPI+jYlB2zf4mzdcFj/uPL
release: Custom Icon Themes ($(APPVEYOR_REPO_TAG_NAME))
tag: $(APPVEYOR_REPO_TAG_NAME)
description: '[Replace this text]'
artifact: compiled_resources
draft: true
on:
branch: master
APPVEYOR_REPO_TAG: true