Skip to content

Commit bf53437

Browse files
committed
Move amd64 arch builds to self hosted runners
Our self hosted runners are cheaper and faster so we want to move to them. Unfortunately, we do not have arm based runners so keep those on Github hosted runners.
1 parent 0d0e1eb commit bf53437

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@ jobs:
2727
echo "timestamp=$timestamp" >> $GITHUB_OUTPUT
2828
2929
base:
30-
# `unbuntu-22.04-8core` for arch amd64 non-scheduled builds
31-
# `unbuntu-22.04` for arch amd64 scheduled builds
30+
# `debian-12` for amd64 builds
3231
# `unbuntu-22.04-8core-arm` for arch arm64 non-scheduled builds
3332
# `unbuntu-22.04-2core-arm` for arch arm64 scheduled builds
34-
runs-on: ubuntu-22.04${{ ((github.event_name != 'schedule') && '-8core') || (( matrix.arch == 'arm64' && '-2core' ) || '') }}${{ (matrix.arch == 'arm64') && '-arm' || '' }}
33+
runs-on: ${{ (matrix.arch == 'amd64' && 'debian-12') || (github.event_name == 'schedule' && 'ubuntu-22.04-2core-arm') || 'ubuntu-22.04-8core-arm' }}
3534
strategy:
3635
matrix:
3736
arch: [amd64, arm64]

0 commit comments

Comments
 (0)