This repository was archived by the owner on Mar 4, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathappveyor.yml
More file actions
61 lines (46 loc) · 1.58 KB
/
appveyor.yml
File metadata and controls
61 lines (46 loc) · 1.58 KB
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: 0.0.7#{build}
image: Visual Studio 2017
environment:
matrix:
- VC_ARCH: x86
QT_PATH: C:\Qt\5.12.4\msvc2017
SSL_BUILD: OpenSSL_1_0_2s/OpenSSL-VC-WIN32.zip
INNO_ARGS: ''
ARTIFACT_SUFFIX: _x86
- VC_ARCH: amd64
QT_PATH: C:\Qt\5.12.4\msvc2017_64
SSL_BUILD: OpenSSL_1_0_2s/OpenSSL-VC-WIN64A.zip
INNO_ARGS: /DBUILD64
install:
- ps: >-
choco install innosetup
[Environment]::CurrentDirectory = $PWD
$opensslDownloadUrl = "https://github.com/LRFLEW/openssl/releases/download/$Env:SSL_BUILD"
$wc = New-Object net.webclient
$wc.Downloadfile($opensslDownloadUrl, "OpenSSL-DLLs.zip")
7z e "OpenSSL-DLLs.zip"
build_script:
- cmd: >-
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %VC_ARCH%
SET PATH=%PATH%;%QT_PATH%\bin;"C:\Program Files (x86)\Inno Setup 5"
qmake OpenRCT2Launcher.pro
nmake
mkdir build-Windows
copy release\OpenRCT2.exe build-Windows\OpenRCT2.exe
windeployqt build-Windows\OpenRCT2.exe
copy libeay32.dll build-Windows\
copy ssleay32.dll build-Windows\
pushd build-Windows & 7z a -tzip ..\OpenRCT2Launcher-win%ARTIFACT_SUFFIX%.zip * & popd
iscc %INNO_ARGS% installer.iss
artifacts:
- path: OpenRCT2Launcher-win*.zip
name: zip-archive
- path: OpenRCT2Launcher-win*.exe
name: exe-installer
deploy:
- provider: GitHub
auth_token:
secure: US2B1AJBegrxUhjKUfbocWUqavl636DxnaUnl8a7/waGexpd5Dp/mN6JBZIS+6Ee
artifact: zip-archive, exe-installer
on:
appveyor_repo_tag: true