summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2025-07-14 02:22:21 +0200
committerGravatar Nikias Bassen2025-07-14 02:22:21 +0200
commit1a081ff74c1b65825ac6537bd3462ec2e38cba4d (patch)
treeb137743fb119af7b40172b4edd9378a5dda76018
parent5bdc4dcda97bee0a304609fbab54e71489243253 (diff)
downloadideviceinstaller-1a081ff74c1b65825ac6537bd3462ec2e38cba4d.tar.gz
ideviceinstaller-1a081ff74c1b65825ac6537bd3462ec2e38cba4d.tar.bz2
[github-actions] Update build workflow to use windows-latest
-rw-r--r--.github/workflows/build.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 97bfc24..35a221c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -174,7 +174,7 @@ jobs:
name: ideviceinstaller-latest_macOS
path: ideviceinstaller.tar
build-windows:
- runs-on: windows-2019
+ runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
@@ -195,6 +195,8 @@ jobs:
base-devel
git
mingw-w64-${{ matrix.arch }}-gcc
+ mingw-w64-${{ matrix.arch }}-pkg-config
+ mingw-w64-${{ matrix.arch }}-openssl
make
libtool
autoconf
@@ -251,7 +253,7 @@ jobs:
echo "LIBZIP_CFLAGS=-I`pwd`/deps/include" >> $GITHUB_ENV
echo "LIBZIP_LIBS=`pwd`/deps/lib/libzip.a /${{env.dest}}/lib/libbz2.a /${{env.dest}}/lib/liblzma.a " >> $GITHUB_ENV
- name: autogen
- run: ./autogen.sh CC=gcc CXX=g++ libzip_CFLAGS="${{env.LIBZIP_CFLAGS}}" libzip_LIBS="${{env.LIBZIP_LIBS}} /${{env.dest}}/lib/libz.a"
+ run: ./autogen.sh PKG_CONFIG_PATH=/${{env.dest}}/lib/pkgconfig libzip_CFLAGS="${{env.LIBZIP_CFLAGS}}" libzip_LIBS="${{env.LIBZIP_LIBS}} /${{env.dest}}/lib/libz.a"
- name: make
run: make
- name: make install