diff options
author | 2025-06-27 18:47:50 +0200 | |
---|---|---|
committer | 2025-06-27 18:47:50 +0200 | |
commit | 7ba50eb7c73d0b5ddacbd6b31c3ba2a114f02188 (patch) | |
tree | 8c2132008d0356a8debc1c2bedf7708acd8fee47 /.github | |
parent | 0aa3cbdc82b45e19ac9bac42397b9b8f123a521a (diff) | |
download | idevicerestore-7ba50eb7c73d0b5ddacbd6b31c3ba2a114f02188.tar.gz idevicerestore-7ba50eb7c73d0b5ddacbd6b31c3ba2a114f02188.tar.bz2 |
[github-actions] Update build workflow for Windows build to use windows-latest
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7028766..1cf8636 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -193,7 +193,7 @@ jobs: name: idevicerestore-latest_macOS path: idevicerestore.tar build-windows: - runs-on: windows-2019 + runs-on: windows-latest defaults: run: shell: msys2 {0} @@ -218,7 +218,10 @@ jobs: libtool autoconf automake-wrapper - liblzma + mingw-w64-${{ matrix.arch }}-xz + mingw-w64-${{ matrix.arch }}-bzip2 + mingw-w64-${{ matrix.arch }}-openssl + pkg-config - name: prepare environment run: | dest=`echo ${{ matrix.msystem }} |tr [:upper:] [:lower:]` @@ -291,7 +294,7 @@ jobs: echo "LIBCURL_LIBS=`pwd`/deps/lib/libcurl.a /${{env.dest}}/lib/libzstd.a -lws2_32 -lcrypt32 -lwldap32 -lbcrypt -lssl -lcrypto" >> $GITHUB_ENV - name: autogen run: | - ./autogen.sh CC=gcc CXX=g++ \ + ./autogen.sh PKG_CONFIG_PATH=/${{env.dest}}/lib/pkgconfig \ libzip_VERSION=1.7.1 libzip_CFLAGS="${{env.LIBZIP_CFLAGS}}" libzip_LIBS="${{env.LIBZIP_LIBS}}" \ zlib_LIBS="/${{env.dest}}/lib/libz.a" libcurl_CFLAGS="${{env.LIBCURL_CFLAGS}}" libcurl_LIBS="$LIBCURL_LIBS" - name: make |