Skip to content

Commit

Permalink
Use ARM64 runners for Debian and RPM packaging tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Sep 17, 2024
1 parent 3fe31a7 commit 63b478c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 22 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,8 @@ env:
ENTERPRISE: 0

on:
push:
branches:
- 'stable-*'
- 'feature/*'
pull_request:
branches:
- 'stable-*'
- 'feature/*'
push: {}
pull_request: {}

jobs:
define-matrix:
Expand All @@ -29,14 +23,16 @@ jobs:
test:
name: "Test ${{ matrix.distro }} ${{ matrix.arch }} packages"
needs: define-matrix
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
distro: ${{ fromJSON(needs.define-matrix.outputs.distros) }}
arch:
- amd64
- arm64
- name: amd64
runner: ubuntu-24.04
- name: arm64
runner: passenger-ubuntu-24.04-arm64-2cpu
runs-on: ${{ matrix.arch.runner }}
env:
WORKSPACE: ${{ github.workspace }}
ARCHITECTURE: ${{ matrix.arch }}
Expand Down
18 changes: 7 additions & 11 deletions .github/workflows/rpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,8 @@ env:
ENTERPRISE: 0

on:
push:
branches:
- 'stable-*'
- 'feature/*'
pull_request:
branches:
- 'stable-*'
- 'feature/*'
push: {}
pull_request: {}

jobs:
define-matrix:
Expand All @@ -29,14 +23,16 @@ jobs:
test:
name: "Test ${{ matrix.distro }} ${{ matrix.arch }} packages"
needs: define-matrix
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
distro: ${{ fromJSON(needs.define-matrix.outputs.distros) }}
arch:
- x86_64
- aarch64
- name: amd64
runner: ubuntu-24.04
- name: arm64
runner: passenger-ubuntu-24.04-arm64-2cpu
runs-on: ${{ matrix.arch.runner }}
env:
WORKSPACE: ${{ github.workspace }}
ARCHITECTURE: ${{ matrix.arch }}
Expand Down

0 comments on commit 63b478c

Please sign in to comment.