Skip to content

Commit f4098c6

Browse files
committed
GH Actions: speed up slow builds
GitHub has made Linux arm64 runners generally available and running tasks on these images instead of the traditional images can deliver up to a 40% performance boost. As the fast majority of end-users won't be using Arm yet, I'm not (yet) switching all Linux builds to Arm runners, but for now, I think it makes sense to try and speed up the build by using these images on the slowest builds. Refs: * https://github.blog/news-insights/product-news/arm64-on-github-actions-powering-faster-more-efficient-build-systems/ * https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
1 parent aebd84b commit f4098c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/quicktest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
include:
3434
- php: '5.4'
35-
os: 'ubuntu-latest'
35+
os: 'ubuntu-24.04-arm'
3636
custom_ini: false
3737
# Installing on Windows with PHP 5.4 runs into all sorts of problems with Composer.
3838
# See this issue for more context (yes, I've seen this problem before):

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ jobs:
189189

190190
include:
191191
- php: '5.4'
192-
os: 'ubuntu-latest'
192+
os: 'ubuntu-24.04-arm'
193193
custom_ini: false
194194
# Installing on Windows with PHP 5.4 runs into all sorts of problems with Composer.
195195
# Considering PHP 5.4 is ancient, I deem it acceptable to run coverage on Windows on PHP 5.5.

0 commit comments

Comments
 (0)