forked from MartinDelille/Joker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
56 lines (52 loc) · 1.88 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
environment:
JOKER_RELEASE_PATH: .
QTDIR: C:\Qt\5.4\mingw491_32
BOOST_PATH: C:\Libraries\boost
branches:
except:
- /^skipthisbranch$/
install:
- git submodule update --init --recursive
# Installing various utilities
- choco install -y curl InnoSetup
- set PATH="C:\Program Files\7-Zip";"C:\Program Files (x86)\Inno Setup 5";%PATH%
# Configuring Qt
- set PATH=%QTDIR%\bin;C:\Qt\Tools\mingw491_32\bin;%PATH%
# Installing ffmpeg dev
- curl -kLO https://ffmpeg.zeranoe.com/builds/win32/dev/ffmpeg-20160622-e0faad8-win32-dev.zip
- 7z x ffmpeg-20160622-e0faad8-win32-dev.zip
- set FFMPEG_DEV_PATH=%CD%\ffmpeg-20160622-e0faad8-win32-dev
# Installing ffmpeg shared
- curl -kLO https://ffmpeg.zeranoe.com/builds/win32/shared/ffmpeg-20160622-e0faad8-win32-shared.zip
- 7z x ffmpeg-20160622-e0faad8-win32-shared.zip
- set FFMPEG_SHARED_PATH=%CD%\ffmpeg-20160622-e0faad8-win32-shared
# Installing PortAudio
- curl -kLO https://github.com/adfernandes/precompiled-portaudio-windows/raw/master/portaudio-r1891-build.zip
- 7z x portaudio-r1891-build.zip
- set PORTAUDIO_PATH=%CD%\portaudio-r1891-build
# Installing libltc
- curl -kLO https://github.com/x42/libltc/releases/download/v1.1.4/libltc-1.1.4.tar.gz
- 7z x libltc-1.1.4.tar.gz
- 7z x libltc-1.1.4.tar
- set LTC_PATH=%CD%\libltc-1.1.4\src
build_script:
- qmake app/Joker/Joker.pro
- mingw32-make -j 8
- iscc app/Joker/Joker.iss /DPWD=%CD% /O%JOKER_RELEASE_PATH%
- dir
artifacts:
- path: Joker_v*.exe
deploy:
provider: GitHub
auth_token:
secure: 9bMCGL2D0e/GK3MGOJu7Ma1hNb6sxAOyEftuonF/tV31LoLLM77+hitI6T3snyCM
artifact: /Joker_v[0-9]+\.[0-9]+\.[0-9]+\.exe/
draft: false
prerelease: true
on:
appveyor_repo_tag: true
notifications:
- provider: Slack
channel: joker
auth_token:
secure: QY4pTvHSFOMIlArGDqQLwE6nE4oPBkWaAGUuFEK2RXWNejGxGy6huwPLN1l0yPCEfrCD9W/3yw9FDxuuFiNLhA==