Skip to content

Commit 9f611a9

Browse files
authored
Start packaging for Debian & Ubuntu aarch64 (#895)
1 parent cd227a4 commit 9f611a9

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/build_and_deploy.yaml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,18 @@ jobs:
8989
base-url: https://packages.element.io/${{ inputs.mode == 'release' && 'desktop' || 'nightly' }}
9090
version: ${{ needs.prepare.outputs.macos-version }}
9191

92-
# We do not put this call into deploy-mode as we do not want it to add to the packages.element.io artifact
92+
# We do not put these calls into deploy-mode as we do not want it to add to the packages.element.io artifact
9393
# We ship this build via reprepro only
9494
linux:
9595
if: github.event_name != 'workflow_dispatch' || inputs.linux
9696
needs: prepare
97-
name: Linux (sqlcipher system)
97+
name: Linux ${{ matrix.arch }} (sqlcipher system)
98+
strategy:
99+
matrix:
100+
arch: [amd64, arm64]
98101
uses: ./.github/workflows/build_linux.yaml
99102
with:
100-
arch: amd64
103+
arch: ${{ matrix.arch }}
101104
config: element.io/${{ inputs.mode || 'nightly' }}
102105
sqlcipher: system
103106
version: ${{ needs.prepare.outputs.linux-version }}
@@ -156,9 +159,12 @@ jobs:
156159
- linux
157160
# We queue this after the other deploy stage as we want to abort if that fails
158161
- deploy
159-
name: Run reprepro
162+
name: Run reprepro ${{ matrix.arch }}
163+
strategy:
164+
matrix:
165+
arch: [amd64, arm64]
160166
if: github.event_name != 'workflow_dispatch' || (inputs.deploy && inputs.linux)
161167
uses: ./.github/workflows/reprepro.yaml
162168
secrets: inherit
163169
with:
164-
artifact-name: linux-amd64-sqlcipher-system
170+
artifact-name: linux-${{ matrix.arch }}-sqlcipher-system

0 commit comments

Comments
 (0)