Skip to content

Commit b62e5ab

Browse files
authored
CI: Switch to ARM runners, update to Ubuntu 24.04 (#4823)
* CI: Catch bad whitelist.txt entries As worked out by @User123698745 in #4792 (comment) Introduced in 9e24ad8. * CI: Switch all to ubuntu-24.04-arm runners In my experience, the ARM runners are measurably faster on compute-heavy jobs. PHP should work as before. The container build uses QEMU anyways, so the host CPU architecture only matters in performance. This also upgrades old Ubuntu 22.04 runners to 24.04.
1 parent f9eb2ec commit b62e5ab

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/dockerbuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ env:
2323

2424
jobs:
2525
bake:
26-
runs-on: ubuntu-latest
26+
runs-on: ubuntu-24.04-arm
2727
steps:
2828
- name: Docker meta
2929
id: docker_meta

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ permissions:
1616

1717
jobs:
1818
documentation:
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-24.04-arm
2020
steps:
2121
- uses: actions/checkout@v5
2222
with:

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111

1212
jobs:
1313
phpcs:
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-24.04-arm
1515
strategy:
1616
matrix:
1717
php-versions: ['7.4']
@@ -24,7 +24,7 @@ jobs:
2424
- run: phpcs . --standard=phpcs.xml --warning-severity=0 --extensions=php -p
2525

2626
phpcompatibility:
27-
runs-on: ubuntu-22.04
27+
runs-on: ubuntu-24.04-arm
2828
strategy:
2929
matrix:
3030
php-versions: ['7.4']
@@ -38,7 +38,7 @@ jobs:
3838
- run: ~/.composer/vendor/bin/phpcs . --standard=phpcompatibility.xml --warning-severity=0 --extensions=php -p
3939

4040
executable_php_files_check:
41-
runs-on: ubuntu-22.04
41+
runs-on: ubuntu-24.04-arm
4242
steps:
4343
- uses: actions/checkout@v5
4444
- run: |

.github/workflows/prhtmlgenerator.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010
jobs:
1111
checks:
1212
name: Check if bridges were changed
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04-arm
1414
outputs:
1515
BRIDGES: ${{ steps.check_bridges.outputs.BRIDGES }}
1616
WITH_UPLOAD: ${{ steps.check_upload.outputs.WITH_UPLOAD }}
@@ -29,7 +29,7 @@ jobs:
2929
3030
test-pr:
3131
name: Generate HTML files
32-
runs-on: ubuntu-latest
32+
runs-on: ubuntu-24.04-arm
3333
needs: checks
3434
if: needs.checks.outputs.BRIDGES > 0
3535
outputs:
@@ -91,7 +91,7 @@ jobs:
9191

9292
comment-pr:
9393
name: Create or update PR comment
94-
runs-on: ubuntu-latest
94+
runs-on: ubuntu-24.04-arm
9595
needs: test-pr
9696
if: needs.test-pr.outputs.COMMENT_LENGTH > 130
9797
permissions:
@@ -120,9 +120,9 @@ jobs:
120120

121121
upload-test-results:
122122
name: Upload to GitHub Pages repository
123-
runs-on: ubuntu-latest
123+
runs-on: ubuntu-24.04-arm
124124
needs: test-pr
125-
if: needs.checks.outputs.WITH_UPLOAD == 'true'
125+
if: needs.test-pr.outputs.COMMENT_LENGTH > 130 && needs.checks.outputs.WITH_UPLOAD == 'true'
126126
steps:
127127
- uses: actions/checkout@v5
128128
with:

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111

1212
jobs:
1313
phpunit8:
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-24.04-arm
1515
strategy:
1616
matrix:
1717
php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4']

0 commit comments

Comments
 (0)