Skip to content

Commit

Permalink
ci(win): Switch to gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
ktgw0316 committed Mar 1, 2024
1 parent 767f82d commit b614801
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 windows:jpackage"

artifacts:
- path: "windows/LightZone-windows*.zip"
name: windows zip archives
- path: "windows/build/LightZone-Installer*.exe"
name: windows installers

- matrix:
only:
Expand Down

0 comments on commit b614801

Please sign in to comment.