summaryrefslogtreecommitdiffstats
path: root/.appveyor.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:29:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:29:01 +0000
commit35a96bde514a8897f6f0fcc41c5833bf63df2e2a (patch)
tree657d15a03cc46bd099fc2c6546a7a4ad43815d9f /.appveyor.yml
parentInitial commit. (diff)
downloadinkscape-upstream.tar.xz
inkscape-upstream.zip
Adding upstream version 1.0.2.upstream/1.0.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.appveyor.yml')
-rw-r--r--.appveyor.yml47
1 files changed, 47 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
new file mode 100644
index 0000000..b9a611b
--- /dev/null
+++ b/.appveyor.yml
@@ -0,0 +1,47 @@
+# 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
+ - curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz
+ - C:\msys64\usr\bin\bash --login -c "pacman -U $(cygpath ${APPVEYOR_BUILD_FOLDER})/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz %PACMAN_OPTIONS%"
+ # for zst package format support
+ - C:\msys64\usr\bin\pacman -U --noconfirm --noprogressbar http://repo.msys2.org/msys/x86_64/libzstd-1.4.4-2-x86_64.pkg.tar.xz http://repo.msys2.org/msys/x86_64/pacman-5.2.1-6-x86_64.pkg.tar.xz http://repo.msys2.org/msys/x86_64/zstd-1.4.4-2-x86_64.pkg.tar.xz
+ - C:\msys64\usr\bin\pacman -Sy pacman %PACMAN_OPTIONS%
+ - 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