Skip to content

Commit

Permalink
ci: if package is labelled as large, use lg runners for x86 (terrapkg…
Browse files Browse the repository at this point in the history
…#1387)

(cherry picked from commit 1f2208b)
  • Loading branch information
lleyton committed Jun 25, 2024
1 parent 596d701 commit 5d62299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/autobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
pkg: ${{ fromJson(needs.manifest.outputs.build_matrix) }}
version: ["39"]
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
Expand Down

0 comments on commit 5d62299

Please sign in to comment.