Skip to content

Commit e42bf5b

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 e42bf5b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build.yml

Lines changed: 6 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]
@@ -49,6 +48,10 @@ jobs:
4948
with:
5049
fetch-depth: 1
5150

51+
- uses: ruby/setup-ruby@v1
52+
with:
53+
ruby-version: "3.3"
54+
5255
- name: build deps image
5356
working-directory: image
5457
run: |

0 commit comments

Comments
 (0)