From 406993a288e549b58e251a08193e2466a7c92db5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Fri, 13 Mar 2026 11:05:33 +0100 Subject: [PATCH 1/2] ci: add arm64 deb package build using native GitHub runner --- .github/workflows/release.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index db9f542..4fbc0ee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -123,8 +123,16 @@ jobs: retention-days: 1 deb: - name: Debian package - runs-on: ubuntu-latest + name: Debian package (${{ matrix.arch }}) + runs-on: ${{ matrix.runner }} + strategy: + fail-fast: false + matrix: + include: + - arch: amd64 + runner: ubuntu-latest + - arch: arm64 + runner: ubuntu-24.04-arm steps: - uses: actions/checkout@v4 @@ -232,7 +240,7 @@ jobs: - name: Upload .deb artifacts uses: actions/upload-artifact@v4 with: - name: deb-packages + name: deb-packages-${{ matrix.arch }} path: '*.deb' retention-days: 1 From 2c0563695d41fd85ad1ac0f33f8c2b259c3b414c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Fri, 13 Mar 2026 11:08:55 +0100 Subject: [PATCH 2/2] ci: add aarch64 RPM package build using native GitHub runner --- .github/workflows/release.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4fbc0ee..7df0dd8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -245,9 +245,17 @@ jobs: retention-days: 1 rpm: - name: Fedora RPM package - runs-on: ubuntu-latest + name: Fedora RPM package (${{ matrix.arch }}) + runs-on: ${{ matrix.runner }} container: fedora:latest + strategy: + fail-fast: false + matrix: + include: + - arch: x86_64 + runner: ubuntu-latest + - arch: aarch64 + runner: ubuntu-24.04-arm steps: - uses: actions/checkout@v4 @@ -270,9 +278,9 @@ jobs: ~/.cargo/registry ~/.cargo/git target - key: fedora-cargo-pkg-${{ hashFiles('**/Cargo.lock') }} + key: fedora-${{ matrix.arch }}-cargo-pkg-${{ hashFiles('**/Cargo.lock') }} restore-keys: | - fedora-cargo-pkg- + fedora-${{ matrix.arch }}-cargo-pkg- - name: Build release binaries run: cargo build --release --workspace @@ -373,7 +381,7 @@ jobs: - name: Upload RPM artifacts uses: actions/upload-artifact@v4 with: - name: rpm-packages + name: rpm-packages-${{ matrix.arch }} path: '*.rpm' retention-days: 1