forked from mypaint/mypaint
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
66 lines (49 loc) · 1.62 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
58
59
60
61
62
63
64
65
66
# yml file for Appveyor
# Based of Reference at: https://www.appveyor.com/docs/appveyor-yml/
#
# Notes:
# - Indent each level of configuration with 2 spaces. Do not use tabs!
# - All section names are case-sensitive.
#---------------------------------#
# general configuration #
#---------------------------------#
# version format
version: 2.0.0-alpha+{branch}.{build}
# Do not build on tags (GitHub and BitBucket)
skip_tags: false
# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true
#---------------------------------#
# environment configuration #
#---------------------------------#
# Build worker image (VM template)
image: Visual Studio 2019 Preview
# set clone depth
clone_depth: 50
environment:
matrix:
- MSYS2_ARCH: x86_64
MSYSTEM: MINGW64
- MSYS2_ARCH: i686
MSYSTEM: MINGW32
#---------------------------------#
# Run Msys2-build commands #
#---------------------------------#
init:
- PATH C:\msys64\%MSYSTEM%\bin;C:\msys64\usr\bin;C:\msys64\bin;%PATH%
install:
- bash %APPVEYOR_BUILD_FOLDER%\windows\msys2-build.sh installdeps
build_script:
- bash %APPVEYOR_BUILD_FOLDER%\windows\msys2-build.sh build
test_script:
- bash %APPVEYOR_BUILD_FOLDER%\windows\msys2-build.sh doctest
- bash %APPVEYOR_BUILD_FOLDER%\windows\msys2-build.sh tests
after_test:
- bash %APPVEYOR_BUILD_FOLDER%\windows\msys2-build.sh clean
- bash %APPVEYOR_BUILD_FOLDER%\windows\msys2-build.sh bundle
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: 'out\pkgs\*'
- path: 'out\bundles\*'