From 501a2d4d29bac0948604ead485510092d85fc159 Mon Sep 17 00:00:00 2001 From: Masahiro Kitagawa Date: Fri, 1 Mar 2024 17:05:07 +0900 Subject: [PATCH] ci(win): Switch to gradle --- .appveyor.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index ac465380..f6508a11 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -20,22 +20,17 @@ for: - 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/jdk17 - - 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 "pacman --noconfirm --disable-download-timeout -S pactoys" + - 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 "MINGW_DIR=/c/$MINGW64_PATH ant -f $ANT_SCRIPT -lib $ANT_LIB_DIR zip" - - 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 zip" + - cmd: bash -lc "MINGW_DIR=/c/$MINGW64_PATH gradle jpackage" artifacts: - - path: "windows/LightZone-windows*.zip" - name: windows zip archives + - path: "windows/build/LightZone-Installer*.exe" + name: windows installers - matrix: only: