forked from analogdevicesinc/scopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
64 lines (52 loc) · 2.27 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
62
63
64
clone_depth: 1
#init:
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
environment:
BUILD_NO: $(APPVEYOR_BUILD_NUMBER)
BRANCH: $(APPVEYOR_REPO_BRANCH)
REPO: $(APPVEYOR_REPO_NAME)
matrix:
- MINGW_VERSION: mingw64
ARCH: x86_64
ARCH_BIT: 64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
BUILD_DEPS_CMD: "C:\\msys64\\usr\\bin\\bash CI\\appveyor\\build_appveyor_mingw.sh"
DEPLOY_FILE: "C:\\scopy-%ARCH_BIT%-setup.exe"
- MINGW_VERSION: mingw32
ARCH: i686
ARCH_BIT: 32
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
BUILD_DEPS_CMD: "C:\\msys64\\usr\\bin\\bash CI\\appveyor\\build_appveyor_mingw.sh"
DEPLOY_FILE: "C:\\scopy-%ARCH_BIT%-setup.exe"
- ARCH: x86_64
ARCH_BIT: 64
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu1804
BUILD_DEPS_CMD: "/home/appveyor/projects/scopy/CI/appveyor/install_ubuntu_deps.sh"
BUILD_CMD: "/home/appveyor/projects/scopy/CI/appveyor/build_appveyor_ubuntu.sh"
DEPLOY_FILE: ""
- ARCH: x86_64
ARCH_BIT: 64
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu1804
BUILD_DEPS_CMD: "/home/appveyor/projects/scopy/CI/appveyor/build_appveyor_flatpak.sh $BRANCH $REPO"
BUILD_CMD: ""
DEPLOY_FILE: "/home/appveyor/projects/scopy/Scopy.flatpak"
matrix:
fast_finish: true
install:
# Install Inno Setup
- cmd: choco install InnoSetup
- sh: docker version
build_script:
- cmd: C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Syu"
- cmd: set PATH=%PATH%;"C:\Program Files (x86)\Inno Setup 5"
- cmd: "%BUILD_DEPS_CMD%"
- sh: echo $BUILD_DEPS_CMD
- sh: $BUILD_DEPS_CMD
- sh: $BUILD_CMD
- echo "### Push artifacts ... "
- cmd: appveyor PushArtifact c:\scopy-%ARCH_BIT%bit.zip
- cmd: appveyor PushArtifact C:\debug-%ARCH_BIT%bit.zip
- cmd: appveyor PushArtifact %DEPLOY_FILE%
- sh: if [[ $DEPLOY_FILE != "" ]]; then appveyor PushArtifact $DEPLOY_FILE; fi
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))