Skip to content

Commit

Permalink
chore: update linux arm ci workflows to use new arm64 runners (#53)
Browse files Browse the repository at this point in the history
It updates several ARM CI workflows to use the new Linux ARM64 hosted runners which increases build performance significantly.

- Announcement: https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/
- Refs: https://github.com/orgs/community/discussions/19197#discussioncomment-11859757
  • Loading branch information
joseluisq authored Jan 16, 2025
1 parent c11d59c commit 41b9527
Show file tree
Hide file tree
Showing 8 changed files with 57 additions and 17 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/devel-8.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ on:

jobs:
php:
runs-on: ubuntu-22.04
strategy:
matrix:
build:
Expand All @@ -27,14 +26,20 @@ jobs:
include:
- build: amd64
arch: linux/amd64
os: ubuntu-22.04
- build: "386"
arch: linux/386
os: ubuntu-22.04
- build: arm64
arch: linux/arm64
os: ubuntu-22.04-arm
- build: armv6
arch: linux/arm/v6
os: ubuntu-22.04-arm
- build: armv7
arch: linux/arm/v7
os: ubuntu-22.04-arm
runs-on: ${{ matrix.os }}
steps:
-
name: Checkout
Expand All @@ -58,7 +63,7 @@ jobs:
uses: docker/setup-buildx-action@v3
-
name: Build and Test
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: false
provenance: false
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/devel-8.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ on:

jobs:
php:
runs-on: ubuntu-22.04
strategy:
matrix:
build:
Expand All @@ -27,14 +26,20 @@ jobs:
include:
- build: amd64
arch: linux/amd64
os: ubuntu-22.04
- build: "386"
arch: linux/386
os: ubuntu-22.04
- build: arm64
arch: linux/arm64
os: ubuntu-22.04-arm
- build: armv6
arch: linux/arm/v6
os: ubuntu-22.04-arm
- build: armv7
arch: linux/arm/v7
os: ubuntu-22.04-arm
runs-on: ${{ matrix.os }}
steps:
-
name: Checkout
Expand All @@ -58,7 +63,7 @@ jobs:
uses: docker/setup-buildx-action@v3
-
name: Build and Test
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: false
provenance: false
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/devel-8.3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ on:

jobs:
php:
runs-on: ubuntu-22.04
strategy:
matrix:
build:
Expand All @@ -27,14 +26,20 @@ jobs:
include:
- build: amd64
arch: linux/amd64
os: ubuntu-22.04
- build: "386"
arch: linux/386
os: ubuntu-22.04
- build: arm64
arch: linux/arm64
os: ubuntu-22.04-arm
- build: armv6
arch: linux/arm/v6
os: ubuntu-22.04-arm
- build: armv7
arch: linux/arm/v7
os: ubuntu-22.04-arm
runs-on: ${{ matrix.os }}
steps:
-
name: Checkout
Expand All @@ -58,7 +63,7 @@ jobs:
uses: docker/setup-buildx-action@v3
-
name: Build and Test
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: false
provenance: false
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/devel-8.4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ on:

jobs:
php:
runs-on: ubuntu-22.04
strategy:
matrix:
build:
Expand All @@ -27,14 +26,20 @@ jobs:
include:
- build: amd64
arch: linux/amd64
- build: "386"
os: ubuntu-22.04
- build: 386
arch: linux/386
os: ubuntu-22.04
- build: arm64
arch: linux/arm64
os: ubuntu-22.04-arm
- build: armv6
arch: linux/arm/v6
os: ubuntu-22.04-arm
- build: armv7
arch: linux/arm/v7
os: ubuntu-22.04-arm
runs-on: ${{ matrix.os }}
steps:
-
name: Checkout
Expand All @@ -58,7 +63,7 @@ jobs:
uses: docker/setup-buildx-action@v3
-
name: Build and Test
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: false
provenance: false
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/release-8.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:

jobs:
docker-build:
runs-on: ubuntu-22.04
strategy:
matrix:
build:
Expand All @@ -19,14 +18,20 @@ jobs:
include:
- build: amd64
arch: linux/amd64
os: ubuntu-22.04
- build: 386
arch: linux/386
os: ubuntu-22.04
- build: arm64
arch: linux/arm64
os: ubuntu-22.04-arm
- build: armv6
arch: linux/arm/v6
os: ubuntu-22.04-arm
- build: armv7
arch: linux/arm/v7
os: ubuntu-22.04-arm
runs-on: ${{ matrix.os }}
name: PHP 8.1 (${{ matrix.build }})
steps:
-
Expand Down Expand Up @@ -56,7 +61,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: true
provenance: false
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/release-8.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:

jobs:
docker-build:
runs-on: ubuntu-22.04
strategy:
matrix:
build:
Expand All @@ -19,14 +18,20 @@ jobs:
include:
- build: amd64
arch: linux/amd64
os: ubuntu-22.04
- build: 386
arch: linux/386
os: ubuntu-22.04
- build: arm64
arch: linux/arm64
os: ubuntu-22.04-arm
- build: armv6
arch: linux/arm/v6
os: ubuntu-22.04-arm
- build: armv7
arch: linux/arm/v7
os: ubuntu-22.04-arm
runs-on: ${{ matrix.os }}
name: PHP 8.2 (${{ matrix.build }})
steps:
-
Expand Down Expand Up @@ -56,7 +61,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: true
provenance: false
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/release-8.3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:

jobs:
docker-build:
runs-on: ubuntu-22.04
strategy:
matrix:
build:
Expand All @@ -19,14 +18,20 @@ jobs:
include:
- build: amd64
arch: linux/amd64
os: ubuntu-22.04
- build: 386
arch: linux/386
os: ubuntu-22.04
- build: arm64
arch: linux/arm64
os: ubuntu-22.04-arm
- build: armv6
arch: linux/arm/v6
os: ubuntu-22.04-arm
- build: armv7
arch: linux/arm/v7
os: ubuntu-22.04-arm
runs-on: ${{ matrix.os }}
name: PHP 8.3 (${{ matrix.build }})
steps:
-
Expand Down Expand Up @@ -56,7 +61,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: true
provenance: false
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/release-8.4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:

jobs:
docker-build:
runs-on: ubuntu-22.04
strategy:
matrix:
build:
Expand All @@ -19,14 +18,20 @@ jobs:
include:
- build: amd64
arch: linux/amd64
os: ubuntu-22.04
- build: 386
arch: linux/386
os: ubuntu-22.04
- build: arm64
arch: linux/arm64
os: ubuntu-22.04-arm
- build: armv6
arch: linux/arm/v6
os: ubuntu-22.04-arm
- build: armv7
arch: linux/arm/v7
os: ubuntu-22.04-arm
runs-on: ${{ matrix.os }}
name: PHP 8.4 (${{ matrix.build }})
steps:
-
Expand Down Expand Up @@ -56,7 +61,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: true
provenance: false
Expand Down

0 comments on commit 41b9527

Please sign in to comment.