Skip to content

Commit

Permalink
Build on Github Actions Linux ARM64 target
Browse files Browse the repository at this point in the history
IB-8359

Signed-off-by: Raul Metsma <[email protected]>
  • Loading branch information
metsma committed Jan 31, 2025
1 parent d4f9dc2 commit 2d93703
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,13 @@ jobs:
name: macOS
path: build/qdigidoc4*.zip
ubuntu:
name: Build on Ubuntu ${{ matrix.container }}
runs-on: ubuntu-latest
name: Build on Ubuntu ${{ matrix.container }} ${{ matrix.arch }}
runs-on: ubuntu-24.04${{ matrix.arch == 'arm64' && '-arm' || '' }}
container: ubuntu:${{ matrix.container }}
strategy:
matrix:
container: ['22.04', '24.04', '24.10']
arch: ['amd64', 'arm64']
env:
DEBIAN_FRONTEND: noninteractive
DEBFULLNAME: github-actions
Expand All @@ -66,10 +67,10 @@ jobs:
uses: dawidd6/action-download-artifact@v6
with:
workflow: build.yml
branch: master
name: ubuntu_${{ matrix.container }}
branch: arm64
name: ubuntu_${{ matrix.container }}_${{ matrix.arch }}
path: libdigidocpp-pkg
repo: open-eid/libdigidocpp
repo: metsma/libdigidocpp
- name: Install dependencies
run: apt update -qq && apt install --no-install-recommends -y git lsb-release build-essential devscripts debhelper pkg-config lintian ${UBUNTU_DEPS}
- name: Checkout
Expand All @@ -91,7 +92,7 @@ jobs:
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: ubuntu_${{ matrix.container }}
name: ubuntu_${{ matrix.container }}_${{ matrix.arch }}
path: qdigidoc4*.*
fedora:
name: Build on Fedora ${{ matrix.container }}
Expand Down

0 comments on commit 2d93703

Please sign in to comment.