Verify wx source provenance before reusing prefix

This commit is contained in:
2026-10-18 21:56:00 -06:00
parent d0ecaea174
commit cb4c56679d
4 changed files with 37 additions and 22 deletions
+1 -6
View File
@@ -38,12 +38,7 @@ jobs:
path: /root/.cache/wx-3.3.3-linux
key: ${{ steps.wx-key.outputs.key }}
- name: Build wxWidgets
run: |
if [ ! -x "$WX_PREFIX/bin/wx-config" ] ||
[ ! -s "$WX_PREFIX/lib/libwx_gtk3u-3.3.a" ]; then
bash scripts/build-wx-linux.sh
fi
[ -s "$WX_PREFIX/lib/libwx_gtk3u-3.3.a" ]
run: bash ci/ensure-wx-prefix.sh
- name: Save vendored wxWidgets build
if: steps.wx-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
+1 -8
View File
@@ -66,14 +66,7 @@ jobs:
key: ${{ steps.wx-key.outputs.key }}
- name: Build wxWidgets (once, then cached)
run: |
if [ ! -x "$WX_PREFIX/bin/wx-config" ] ||
[ ! -s "$WX_PREFIX/lib/libwx_gtk3u-3.3.a" ]; then
bash scripts/build-wx-linux.sh
else
echo "wx prefix restored from cache"
fi
[ -s "$WX_PREFIX/lib/libwx_gtk3u-3.3.a" ]
run: bash ci/ensure-wx-prefix.sh
- name: Save vendored wxWidgets build
if: steps.wx-cache.outputs.cache-hit != 'true'
+1 -8
View File
@@ -68,14 +68,7 @@ jobs:
- name: Build wxWidgets (once, then cached)
if: steps.surface.outputs.surface == 'full'
run: |
if [ ! -x "$WX_PREFIX/bin/wx-config" ] ||
[ ! -s "$WX_PREFIX/lib/libwx_gtk3u-3.3.a" ]; then
bash scripts/build-wx-linux.sh
else
echo "wx prefix restored from cache"
fi
[ -s "$WX_PREFIX/lib/libwx_gtk3u-3.3.a" ]
run: bash ci/ensure-wx-prefix.sh
- name: Save vendored wxWidgets build
if: steps.surface.outputs.surface == 'full' && steps.wx-cache.outputs.cache-hit != 'true'