forked from b-com-software-basis/builddefs-qmake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
61 lines (55 loc) · 1.65 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
55
56
57
58
59
60
61
version: 1.0.{build}
branches:
only:
- master
- develop
skip_branch_with_pr: true
image:
- Ubuntu1804
- macOS-Mojave
init:
- sh: mkdir $HOME/projects/qmakebin
environment:
QTBRANCH: 5.15
install:
- sh: git clone -b $QTBRANCH https://github.com/qt/qtbase.git $HOME/projects/qtbase
build_script:
- sh: >-
cd $HOME/projects/qtbase && ./configure -opensource -confirm-license -no-opengl && cd -
cp -r $HOME/projects/qtbase/bin $HOME/projects/qmakebin/
cp -r $HOME/projects/qtbase/mkspecs $HOME/projects/qmakebin/
cd $HOME/projects && tar -zcvf qmakebin.tgz qmakebin && cd -
cd $HOME/projects && zip builddefs-qmake-package.zip -r builddefs-qmake && cd -
mv $HOME/projects/qmakebin.tgz $APPVEYOR_BUILD_FOLDER
mv $HOME/projects/builddefs-qmake-package.zip $APPVEYOR_BUILD_FOLDER
artifacts:
- path: qmakebin.tgz
name: qmakebin
- path: builddefs-qmake-package.zip
name: builddefs-qmake-package
deploy:
- provider: GitHub
release: ${APPVEYOR_BUILD_WORKER_IMAGE}/qmake-latest
auth_token:
secure: WUZuOKLtErzvGojYwISnWio7doATSkiTNVWQaO1iz9ozEJQDPMIQKbF4Hzn8SkLU
artifact: qmakebin
force_update: true
on:
branch: master
- provider: GitHub
release: builddefs-qmake-${APPVEYOR_REPO_TAG_NAME}
force_update: true
auth_token:
secure: WUZuOKLtErzvGojYwISnWio7doATSkiTNVWQaO1iz9ozEJQDPMIQKbF4Hzn8SkLU
artifact: builddefs-qmake-package
tag: $(APPVEYOR_REPO_TAG_NAME)
on:
APPVEYOR_REPO_TAG: true
- provider: GitHub
release: builddefs-qmake-latest
force_update: true
auth_token:
secure: WUZuOKLtErzvGojYwISnWio7doATSkiTNVWQaO1iz9ozEJQDPMIQKbF4Hzn8SkLU
artifact: builddefs-qmake-package
on:
branch: develop