-
Notifications
You must be signed in to change notification settings - Fork 54
/
appveyor.yml
52 lines (46 loc) · 1.81 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
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
QTPATH: C:\Qt\6.2\msvc2019_64
OpenSSL: C:\OpenSSL-v111-Win64\bin
OS: win
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
OS: linux
- APPVEYOR_BUILD_WORKER_IMAGE: macos-mojave
OS: macOS
install:
- git submodule update --init --recursive
- sh: bash .ci/install.sh
before_build:
- cmd: set PATH=%QTPATH%\bin;C:\Qt\Tools\QtCreator\bin;%PATH%
- cmd: call C:\"Program Files (x86)\Microsoft Visual Studio"\2019\Community\VC\Auxiliary\Build\vcvarsall.bat x64
build_script:
- mkdir build
- cd build
- cmd: cmake -G"NMake Makefiles" -DCMAKE_BUILD_TYPE=RELEASE ../
- sh: bash ../.ci/build.sh
- cmake --build . -j 4
after_build:
- cd ..
- cmd: md RaidFinder-windows
- cmd: move build\RaidFinder.exe RaidFinder-windows\RaidFinder.exe
- cmd: windeployqt --no-translations --no-plugins --no-opengl-sw --no-system-d3d-compiler RaidFinder-windows\RaidFinder.exe
- cmd: del RaidFinder-windows\vc_redist*.exe
- cmd: xcopy /I %QTPATH%\plugins\platforms\qwindows.dll RaidFinder-windows\platforms\
- cmd: xcopy /I %QTPATH%\plugins\styles\qwindowsvistastyle.dll RaidFinder-windows\styles\
- cmd: xcopy /I %OpenSSL%\libcrypto*.dll RaidFinder-windows\
- cmd: xcopy /I %OpenSSL%\libssl*.dll RaidFinder-windows\
- cmd: 7z a RaidFinder-%OS%.zip RaidFinder-windows\
- cmd: sha256sum RaidFinder-%OS%.zip > RaidFinder-%OS%.zip.sha256
- sh: bash .ci/after_build.sh
artifacts:
- path: RaidFinder-%OS%.zip
- path: RaidFinder-%OS%.zip.sha256
deploy:
provider: GitHub
description: ''
auth_token:
secure: SFsouaBlVG46u5QjtuDZMhTxq9FHVPr1BRF6YwNJhOtlj+vk707p3MEzHttr7Vep
artifact: RaidFinder-%OS%.zip,RaidFinder-%OS%.zip.sha256
on:
APPVEYOR_REPO_TAG: true