ci(release test):cache linux & set qemu

This commit is contained in:
luoliwoshang
2025-09-04 11:12:55 +08:00
parent bedb454427
commit 825f0bd83f

View File

@@ -42,6 +42,11 @@ jobs:
with: with:
path: .sysroot/linux.tar.gz path: .sysroot/linux.tar.gz
key: linux-sysroot-${{ hashFiles('.github/workflows/populate_linux_sysroot.sh') }}-0.0.7 key: linux-sysroot-${{ hashFiles('.github/workflows/populate_linux_sysroot.sh') }}-0.0.7
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
if: steps.cache-linux-sysroot.outputs.cache-hit != 'true'
with:
image: tonistiigi/binfmt:qemu-v7.0.0-28
- name: Populate Linux sysroot - name: Populate Linux sysroot
if: steps.cache-linux-sysroot.outputs.cache-hit != 'true' if: steps.cache-linux-sysroot.outputs.cache-hit != 'true'
run: bash .github/workflows/populate_linux_sysroot.sh run: bash .github/workflows/populate_linux_sysroot.sh