ci: if package is labelled as large, use lg runners for x86 (#1387) (#1388)

(cherry picked from commit 1f2208bdfc)

Co-authored-by: lea <lleyton@fyralabs.com>
This commit is contained in:
Raboneko
2024-06-24 20:24:59 -07:00
committed by GitHub
parent e7f58b406d
commit a0a446e62a
+1 -1
View File
@@ -42,7 +42,7 @@ jobs:
pkg: ${{ fromJson(needs.manifest.outputs.build_matrix) }}
version: ["40"]
fail-fast: false
runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || matrix.pkg.labels['large'] && 'x86-64-lg' || 'ubuntu-latest' }}
container:
image: ghcr.io/terrapkg/builder:f${{ matrix.version}}
options: --cap-add=SYS_ADMIN --privileged