Skip to content

Commit f359aaf

Browse files
committed
use correct arm64 images in workflows
1 parent c49a5d2 commit f359aaf

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

.github/workflows/build-workflow.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ jobs:
2525
target: linux-x64
2626
build-cmd: bun run build:linux-x64
2727
# Linux ARM64 GLIBC builds (native ARM64 runner)
28-
- os: ubuntu-latest-arm64
28+
- os: ubuntu-24.04-arm
2929
target: linux-arm64
3030
build-cmd: bun run build:linux-arm64
3131
# Linux x64 MUSL builds (for Alpine, containers, static linking)
3232
- os: ubuntu-latest
3333
target: linux-x64-musl
3434
build-cmd: bun run build:linux-x64-musl
3535
# Linux ARM64 MUSL builds (native ARM64 runner)
36-
- os: ubuntu-latest-arm64
36+
- os: ubuntu-24.04-arm
3737
target: linux-arm64-musl
3838
build-cmd: bun run build:linux-arm64-musl
3939
# macOS x64 builds (Intel-based runner)
@@ -133,7 +133,7 @@ jobs:
133133
- name: Run tests on native architecture
134134
run: |
135135
# Only run full tests on native architecture builds
136-
if [[ "${{ matrix.os }}" == "ubuntu-latest-arm64" ]] && [[ "${{ matrix.target }}" == *"arm64"* ]]; then
136+
if [[ "${{ matrix.os }}" == "ubuntu-24.04-arm" ]] && [[ "${{ matrix.target }}" == *"arm64"* ]]; then
137137
echo "Running tests on native ARM64..."
138138
bun test
139139
elif [[ "${{ matrix.os }}" == "ubuntu-latest" ]] && [[ "${{ matrix.target }}" == "linux-x64" ]]; then

scripts/TESTING_WORKFLOWS.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,17 @@ docker rm test-registry
212212
213213
## GitHub Actions ARM64 Runner Issues
214214
215-
ARM64 runners (`ubuntu-latest-arm64`) can experience delays:
215+
ARM64 runners for public repositories use specific labels:
216216
217-
- **Provisioning**: Can take around 15 minutes to start
218-
- **Availability**: Limited runner pool, may queue for extended periods
219-
- **Stuck appearance**: The workflow may appear stuck with a non-pulsating yellow circle
217+
- `ubuntu-24.04-arm` - Ubuntu 24.04 ARM64 runner
218+
- `ubuntu-22.04-arm` - Ubuntu 22.04 ARM64 runner
219+
- **Note**: `ubuntu-latest-arm64` does NOT exist!
220+
221+
ARM64 runners can experience delays:
222+
223+
- **Public Preview**: Currently in public preview (as of Jan 2025)
224+
- **Free for Public Repos Only**: Not available for private repositories
225+
- **Queue Times**: May experience longer wait times during peak hours
226+
- **Performance**: 4 vCPU runners with Cobalt 100-based processors
220227

221228
This provides the most accurate testing environment while keeping production safe.

0 commit comments

Comments
 (0)