-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
57 lines (51 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
57
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
QTPATH: C:\Qt\6.2\msvc2019_64
OpenSSL: C:\OpenSSL-v111-Win64\bin
OS: win
EXT: zip
VCVARSALLPATH: C:\"Program Files (x86)\Microsoft Visual Studio"\2019\Community\VC\Auxiliary\Build\vcvarsall.bat
VCVARSALL: x64
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2204
OS: linux
QTVER: 6.2
EXT: tar.gz
- APPVEYOR_BUILD_WORKER_IMAGE: macos
OS: macOS
QTVER: 6.2
EXT: tar.gz
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 %VCVARSALLPATH% %VCVARSALL%
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 3DSTimeFinder-windows
- cmd: move build\Source\Forms\3DSTimeFinder.exe 3DSTimeFinder-windows\3DSTimeFinder.exe
- cmd: windeployqt --no-translations --no-plugins --no-opengl-sw --no-system-d3d-compiler 3DSTimeFinder-windows\3DSTimeFinder.exe
- cmd: del 3DSTimeFinder-windows\vc_redist*.exe
- cmd: xcopy /I %QTPATH%\plugins\platforms\qwindows.dll 3DSTimeFinder-windows\platforms\
- cmd: xcopy /I %QTPATH%\plugins\styles\qwindowsvistastyle.dll 3DSTimeFinder-windows\styles\
- cmd: 7z a 3DSTimeFinder-%OS%.zip 3DSTimeFinder-windows\
- cmd: sha256sum 3DSTimeFinder-%OS%.zip > 3DSTimeFinder-%OS%.zip.sha256
- sh: bash .ci/after_build.sh
artifacts:
- path: 3DSTimeFinder-%OS%.%EXT%
- path: 3DSTimeFinder-%OS%.%EXT%.sha256
deploy:
provider: GitHub
description: ''
auth_token:
secure: SFsouaBlVG46u5QjtuDZMhTxq9FHVPr1BRF6YwNJhOtlj+vk707p3MEzHttr7Vep
artifact: 3DSTimeFinder-%OS%.%EXT%,3DSTimeFinder-%OS%.%EXT%.sha256
on:
APPVEYOR_REPO_TAG: true