refactor(ci): share bounded hosted package acquisition (#12407)

This commit is contained in:
morluto authored and GitHub committed 2026-11-19 17:52:29 +00:00
1 parent 4377c1a392
commit a363346949
8 files changed
+126 -17

No files matched your search

+1 -1
View File
@@ -699,7 +699,7 @@ jobs:
- name: Compute Windows native cache key
id: windows-native-key
env:
SOURCE_HASH: ${{ hashFiles('native/windows/**', 'src/domain/windowsNativeArtifact*.ts', 'src/domain/dosMz*.ts', 'src/domain/peCoffHeader*.ts', 'scripts/build-windows-native.mjs', 'scripts/verify-windows-native-artifact.mjs', 'scripts/lib/verifier-source-loader.mjs', 'tests/fixtures/windows-native-inspection-failure.cc', 'tests/fixtures/windows/processBoundary.cc', '.github/actions/windows-cross-compiler/action.yml', '.github/actions/ubuntu-archive/action.yml', 'package.json') }}
SOURCE_HASH: ${{ hashFiles('native/windows/**', 'src/domain/windowsNativeArtifact*.ts', 'src/domain/dosMz*.ts', 'src/domain/peCoffHeader*.ts', 'scripts/build-windows-native.mjs', 'scripts/verify-windows-native-artifact.mjs', 'scripts/lib/verifier-source-loader.mjs', 'tests/fixtures/windows-native-inspection-failure.cc', 'tests/fixtures/windows/processBoundary.cc', '.github/actions/windows-cross-compiler/action.yml', '.github/actions/ubuntu-archive/action.yml', '.github/actions/host-apt-packages/action.yml', 'package.json') }}
run: |
utc_date="$(date -u +%Y-%m-%d)"
printf 'key=rea-windows-native-v3-%s-%s-%s-%s-%s-%s\n' \
+5 -3
View File
@@ -59,10 +59,12 @@ jobs:
with:
noble-azure-fallback: "true"
- name: Install AArch64 and ELF32 cross toolchains for source-owned fixtures
run: |
sudo apt-get install --yes --no-install-recommends \
gcc-aarch64-linux-gnu gcc-i686-linux-gnu gcc-arm-linux-gnueabi gcc-mips-linux-gnu gcc-mipsel-linux-gnu \
uses: ./.github/actions/host-apt-packages
with:
packages: >-
gcc-aarch64-linux-gnu gcc-i686-linux-gnu gcc-arm-linux-gnueabi gcc-mips-linux-gnu gcc-mipsel-linux-gnu
libc6-dev-arm64-cross libc6-dev-i386-cross libc6-dev-armel-cross libc6-dev-mips-cross libc6-dev-mipsel-cross
install-recommends: "false"
- name: Acquire exact upstream libraries in an isolated runner environment
shell: bash
run: |
+3 -1
View File
@@ -44,7 +44,9 @@ jobs:
uses: ./.github/actions/npm-cache
- uses: ./.github/actions/ubuntu-archive
- name: Install signal recording prerequisites
run: sudo apt-get install -y sigrok-cli util-linux python3
uses: ./.github/actions/host-apt-packages
with:
packages: sigrok-cli util-linux python3
- run: npm ci
- uses: ./.github/actions/portable-build-cache
with: