-
Notifications
You must be signed in to change notification settings - Fork 50
/
.appveyor.yml
54 lines (41 loc) · 1.73 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
version: 5.0.0.beta2.{build}-{branch}
image:
- Visual Studio 2022
- macos-monterey
clone_depth: 1
matrix:
fast_finish: false
for:
- matrix:
only:
- image: Visual Studio 2022
init:
- cmd: SET MINGW64_PATH=msys64/mingw64
- cmd: SET MINGW32_PATH=msys64/mingw32
- cmd: SET PATH=C:/%MINGW64_PATH%/bin/;C:/%MINGW32_PATH%/bin/;C:/msys64/usr/bin/;%PATH%
- cmd: SET MSSDK_HOME=/c/Program Files (x86)/Windows Kits/10/Lib/10.0.22621.0
- cmd: SET JAVA_HOME=/c/Program Files/Java/jdk21
install:
- cmd: bash -lc "pacman --noconfirm --disable-download-timeout -S gradle pactoys"
- cmd: bash -lc "pacboy --noconfirm --disable-download-timeout -S lcms2:m libraw:m lensfun:m ntldd-git:m pkg-config:m"
build_script:
- cmd: bash -lc "cd /c/projects/lightzone/ && MINGW_DIR=/c/$MINGW64_PATH gradle windows:jpackage"
artifacts:
- path: "windows/build/jpackage/LightZone-Installer*.exe"
name: windows installers
- matrix:
only:
- image: macos-monterey
init:
- sh: export JAVA_HOME=/Library/Java/JavaVirtualMachines/liberica-jdk-21-full.jdk/Contents/Home
- sh: export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
install:
- sh: HOMEBREW_NO_AUTO_UPDATE=1 brew install gradle lensfun libjpeg-turbo libomp libraw libtiff libxml2 little-cms2 rsync
- sh: rm /usr/local/bin/ccmake /usr/local/bin/cmake /usr/local/bin/cpack /usr/local/bin/ctest
- sh: HOMEBREW_NO_AUTO_UPDATE=1 brew tap bell-sw/liberica
- sh: HOMEBREW_NO_AUTO_UPDATE=1 brew install --cask liberica-jdk21-full
build_script:
- sh: gradle macosx:jpackage
artifacts:
- path: "macosx/build/jpackage/LightZone-Installer*.dmg"
name: macos installers