summaryrefslogtreecommitdiffstats
path: root/.appveyor.yml
blob: c441d8e2ad0c1eb88ec3a0e4eb5351279165e69c (plain)
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
# SPDX-License-Identifier: GPL-2.0-or-later
version: '{branch}-{build}'

clone_depth: 100

# do not build feature branches with open pull requests
skip_branch_with_pr: true

# avoid building 32-bit if 64-bit failed already
matrix:
  fast_finish: true

environment:
  PACMAN_OPTIONS: "--needed --noconfirm --noprogressbar --overwrite \\*"
  matrix:
    - MSYSTEM: MINGW64
    - MSYSTEM: MINGW32


init:
  - if "%APPVEYOR_PULL_REQUEST_NUMBER%" NEQ ""
      appveyor UpdateBuild -Version "!%APPVEYOR_PULL_REQUEST_NUMBER% (%APPVEYOR_REPO_BRANCH%-%APPVEYOR_BUILD_NUMBER%)"

install:
  - git submodule update --init --recursive

build_script:
  - del C:\Windows\System32\libssl-*.dll C:\Windows\system32\libcrypto-*.dll
  - del C:\Windows\SysWOW64\libssl-*.dll C:\Windows\SysWOW64\libcrypto-*.dll
  - C:\msys64\usr\bin\pacman -Syuu %PACMAN_OPTIONS%
  - C:\msys64\usr\bin\bash --login -c "$(cygpath ${APPVEYOR_BUILD_FOLDER})/buildtools/appveyor.sh"


artifacts:
  - path: build\inkscape*.7z
  - path: build\inkscape*.exe
  - path: build\inkscape*.msi

cache:
  - '%APPVEYOR_BUILD_FOLDER%\build\ccache'

test: off