diff options
| author | 2026-12-03 10:11:57 +0100 | |
|---|---|---|
| committer | 2026-12-03 10:11:57 +0100 | |
| commit | ddd5696af53c3494e2ac0f7c6c970ebc9ecd9dca (patch) | |
| tree | 0477593f48f9d04323c0a77bd88e08391abc30fc /.github/workflows | |
| parent | fdad977a918072354413758d70174ed66a25ebb4 (diff) | |
| download | libideviceactivation-ddd5696af53c3494e2ac0f7c6c970ebc9ecd9dca.tar.gz libideviceactivation-ddd5696af53c3494e2ac0f7c6c970ebc9ecd9dca.tar.bz2 | |
[github-actions] Update build workflow
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eb9cac5..8679c12 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: rm -rf extract/lib sudo cp -r extract/* / sudo ldconfig - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: fetch-depth: 0 - name: autogen @@ -119,7 +119,9 @@ jobs: tar -C extract -xvf $I done sudo cp -r extract/* / - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 + with: + fetch-depth: 0 - name: install additional requirements run: | SDKDIR=`xcrun --sdk macosx --show-sdk-path 2>/dev/null` @@ -182,18 +184,19 @@ jobs: base-devel git mingw-${{ matrix.flavor }}-${{ matrix.arch }}-${{ matrix.cc }} + mingw-${{ matrix.flavor }}-${{ matrix.arch }}-pkgconf + mingw-${{ matrix.flavor }}-${{ matrix.arch }}-openssl + mingw-${{ matrix.flavor }}-${{ matrix.arch }}-libxml2 make libtool autoconf automake-wrapper - mingw-${{ matrix.flavor }}-${{ matrix.arch }}-openssl - mingw-${{ matrix.flavor }}-${{ matrix.arch }}-libxml2 - mingw-${{ matrix.flavor }}-${{ matrix.arch }}-pkg-config - name: prepare environment run: | dest=`echo ${{ matrix.msystem }} |tr [:upper:] [:lower:]` echo "dest=$dest" >> $GITHUB_ENV - echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV + echo "target_triplet=`${{ matrix.cc }} -dumpmachine`" >> $GITHUB_ENV + git config --global core.autocrlf false - name: fetch libplist uses: dawidd6/action-download-artifact@v24 with: @@ -229,7 +232,9 @@ jobs: tar -C extract -xvf $I done cp -r extract/* / - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 + with: + fetch-depth: 0 - name: install additional requirements run: | mkdir deps @@ -240,7 +245,9 @@ jobs: echo "LIBCURL_CFLAGS=-I`pwd`/deps/include -DCURL_STATICLIB" >> $GITHUB_ENV echo "LIBCURL_LIBS=-Xlinker `pwd`/deps/lib/libcurl.a -Xlinker /${{env.dest}}/lib/libzstd.a -Xlinker /${{env.dest}}/lib/libz.a -Xlinker -lws2_32 -Xlinker -lcrypt32 -Xlinker -lwldap32 -Xlinker -lbcrypt -Xlinker -lssl -Xlinker -lcrypto" >> $GITHUB_ENV - name: autogen - run: ./autogen.sh libcurl_CFLAGS="${{env.LIBCURL_CFLAGS}}" libcurl_LIBS="${{env.LIBCURL_LIBS}}" + run: | + ./autogen.sh \ + libcurl_CFLAGS="${{env.LIBCURL_CFLAGS}}" libcurl_LIBS="${{env.LIBCURL_LIBS}}" - name: make run: make - name: make install |
