mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 13:27:17 +01:00
[gha] xp build again
Signed-off-by: r4sas <r4sas@i2pmail.org>
This commit is contained in:
parent
da3e83138a
commit
d7c4d0ff3e
19
.github/workflows/build-windows.yml
vendored
19
.github/workflows/build-windows.yml
vendored
|
@ -108,7 +108,6 @@ jobs:
|
||||||
path: build/i2pd.exe
|
path: build/i2pd.exe
|
||||||
|
|
||||||
build-xp:
|
build-xp:
|
||||||
if: false
|
|
||||||
name: XP
|
name: XP
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
|
@ -129,8 +128,11 @@ jobs:
|
||||||
cache: true
|
cache: true
|
||||||
update: true
|
update: true
|
||||||
|
|
||||||
- name: Clone MinGW packages repository
|
- name: Clone MinGW packages repository and revert boost to 1.85.0
|
||||||
run: git clone https://github.com/msys2/MINGW-packages
|
run: |
|
||||||
|
git clone https://github.com/msys2/MINGW-packages
|
||||||
|
cd MINGW-packages
|
||||||
|
git checkout 4cbb366edf2f268ac3146174b40ce38604646fc5 mingw-w64-boost
|
||||||
|
|
||||||
# headers
|
# headers
|
||||||
- name: Get headers package version
|
- name: Get headers package version
|
||||||
|
@ -212,16 +214,17 @@ jobs:
|
||||||
run: pacman --noconfirm -U MINGW-packages/mingw-w64-openssl/mingw-w64-i686-*-any.pkg.tar.zst
|
run: pacman --noconfirm -U MINGW-packages/mingw-w64-openssl/mingw-w64-i686-*-any.pkg.tar.zst
|
||||||
|
|
||||||
# Boost
|
# Boost
|
||||||
- name: Get boost package version
|
#- name: Get boost package version
|
||||||
id: version-boost
|
# id: version-boost
|
||||||
run: |
|
# run: |
|
||||||
echo "version=$(pacman -Si mingw-w64-i686-boost | grep -Po '^Version\s*: \K.+')" >> $GITHUB_OUTPUT
|
# echo "version=$(pacman -Si mingw-w64-i686-boost | grep -Po '^Version\s*: \K.+')" >> $GITHUB_OUTPUT
|
||||||
- name: Cache boost package
|
- name: Cache boost package
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
id: cache-boost
|
id: cache-boost
|
||||||
with:
|
with:
|
||||||
path: MINGW-packages/mingw-w64-boost/*.zst
|
path: MINGW-packages/mingw-w64-boost/*.zst
|
||||||
key: winxp-boost-${{ steps.version-boost.outputs.version }}
|
key: winxp-boost-1.85.0+crt-${{ steps.version-headers.outputs.version }}+ossl-${{ steps.version-openssl.outputs.version }}
|
||||||
|
# Rebuild package if packages above has changed
|
||||||
- name: Build WinXP-capable boost package
|
- name: Build WinXP-capable boost package
|
||||||
if: steps.cache-boost.outputs.cache-hit != 'true'
|
if: steps.cache-boost.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue