Skip to content

Commit fbaaaef

Browse files
authored
ci: Stop using self-hosted Linux/arm64 runners (#232)
These are no longer required since GitHub launched their own Linux/arm64 runners. See https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/
1 parent cd49911 commit fbaaaef

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.github/workflows/build-and-test.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,14 @@ jobs:
122122
sudo apt -y install chromium
123123
124124
# Running inside a Docker container, we need to kill the sandbox.
125+
# We also need to set these XDG environment variables, or else we get
126+
# errors like "chrome_crashpad_handler: --database is required".
127+
# See https://github.com/hardkoded/puppeteer-sharp/issues/2633
125128
# Heredocs interpolate variables, so escape the dollar sign below.
126129
cat >/usr/local/bin/chromium <<EOF
127130
#!/bin/bash
131+
export XDG_CONFIG_HOME=/tmp/.chromium
132+
export XDG_CACHE_HOME=/tmp/.chromium
128133
exec /usr/bin/chromium --no-sandbox "\$@"
129134
EOF
130135

build-matrix.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
"os_name": "linux",
1414
"target_arch": "x64"
1515
},
16+
{
17+
"os": "ubuntu-24.04-arm",
18+
"os_name": "linux",
19+
"target_arch": "arm64"
20+
},
1621
{
1722
"comment": "Explicit macOS version 13 is required for explicit x64 CPU.",
1823
"os": "macos-13",
@@ -32,12 +37,7 @@
3237
}
3338
],
3439

35-
"comment2": "runners hosted by the owner, enabled by the ENABLE_SELF_HOSTED variable being set on the repo",
40+
"comment2": "Self-hosted runners are not used since the introduction of GitHub-hosted Linux arm64 runners. The feature still exists if a new platform becomes necessary.",
3641
"selfHosted": [
37-
{
38-
"os": "self-hosted-linux-arm64",
39-
"os_name": "linux",
40-
"target_arch": "arm64"
41-
}
4242
]
4343
}

0 commit comments

Comments
 (0)