This repository has been archived by the owner on Jan 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
/
.appveyor.yml
77 lines (59 loc) · 2.75 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
67
68
69
70
71
72
73
74
75
76
77
version: 4.2.5.{build}-{branch}
image:
- macos
- Visual Studio 2019
- Ubuntu2004
clone_depth: 1
matrix:
fast_finish: false
for:
- matrix:
only:
- image: Visual Studio 2019
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.22000.0
- cmd: SET JAVA_HOME=/c/Program Files/Java/jdk15
- cmd: SET ANT_SCRIPT=/c/projects/lightzone/windows/build.xml
- cmd: SET ANT_LIB_DIR=/c/projects/lightzone/lightcrafts/lib/
install:
- cmd: cinst ant
- cmd: bash -lc 'cp "$MSSDK_HOME/um/x64/Htmlhelp.Lib" /c/$MINGW64_PATH/lib/libhtmlhelp.a'
- cmd: bash -lc 'cp "$MSSDK_HOME/um/x86/Htmlhelp.Lib" /c/$MINGW32_PATH/lib/libhtmlhelp.a'
- ps: (new-object net.webclient).DownloadFile('https://download-gcdn.ej-technologies.com/install4j/install4j_windows-x64_8_0_8.exe', 'install4j-installer.exe')
- ps: install4j-installer.exe -q
- cmd: bash -lc "pacman --noconfirm --disable-download-timeout -S pactoys"
- cmd: bash -lc "pacboy --noconfirm --disable-download-timeout -S lcms2:m lensfun:m ntldd-git:m pkg-config:m"
build_script:
- cmd: bash -lc "MINGW_DIR=/c/$MINGW64_PATH ant -f $ANT_SCRIPT -lib $ANT_LIB_DIR build-installer"
- cmd: bash -lc "ant -f $ANT_SCRIPT clean-native"
- cmd: bash -lc "TARGET_ARCH=i686 MINGW_DIR=/c/$MINGW32_PATH ant -f $ANT_SCRIPT -Dno-ivy=true -lib $ANT_LIB_DIR build-installer"
artifacts:
- path: "windows/LightZone_Installer_*.exe"
name: windows installer
- matrix:
only:
- image: macos
init:
- sh: export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-15.jdk/Contents/Home
- sh: export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
install:
- sh: HOMEBREW_NO_AUTO_UPDATE=1 brew install ant lensfun libjpeg-turbo libomp libtiff libxml2 little-cms2 rsync
build_script:
- sh: ant -f macosx/build.xml dmg
artifacts:
- path: "macosx/LightZone-*.dmg"
name: macos installer
- matrix:
only:
- image: Ubuntu2004
init:
- sh: export JAVA_HOME=/usr/lib/jvm/java-15-openjdk-amd64
install:
- sh: sudo add-apt-repository --yes ppa:lightzone-team/lightzone
- sh: sudo apt-get update
- sh: sudo apt-get install -y ant javahelp2 libejml-java libglib2.0-dev libjaxb-java libjetbrains-annotations-java libjiconfont-font-awesome-java libjiconfont-google-material-design-icons-java libjiconfont-swing-java liblensfun-dev liblcms2-dev liblombok-java librefuel-java libslf4j-java libtiff5-dev tidy
build_script:
- sh: ant -f linux/build.xml