forked from synfig/synfig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
32 lines (24 loc) · 880 Bytes
/
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
# base image (VS2019 has newer MSYS)
image: Visual Studio 2019
# avoid building 32-bit if 64-bit failed already
matrix:
fast_finish: true
environment:
CCACHE_DIR: "%APPVEYOR_BUILD_FOLDER%\\.ccache"
APPVEYOR_SAVE_CACHE_ON_ERROR: true
matrix:
- MSYSTEM: MINGW64
# - MSYSTEM: MINGW32
# set clone depth
clone_depth: 1 # clone entire repository history if not defined
cache:
- .ccache
build_script:
- '%APPVEYOR_BUILD_FOLDER%\autobuild\msys2\appveyor.bat'
# scripts to run after build (working directory and environment changes are persisted from the previous steps)
after_build:
- cmd: set SYNFIG_ID="%APPVEYOR_REPO_COMMIT_TIMESTAMP:~0,10%-win%MSYSTEM:~-2%-%APPVEYOR_REPO_COMMIT:~0,5%"
- cmd: call 7z a "SynfigStudio-1.5.2-testing-%SYNFIG_ID%.zip" %APPVEYOR_BUILD_FOLDER%\cmake-build-msys\install\*
artifacts:
- path: "SynfigStudio-*.zip"
deploy: off