Start packaging for Debian & Ubuntu aarch64 (#895)

This commit is contained in:
Michael Telatynski 2023-04-26 16:07:20 +01:00 committed by GitHub
parent cd227a456a
commit 9f611a94e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,15 +89,18 @@ jobs:
base-url: https://packages.element.io/${{ inputs.mode == 'release' && 'desktop' || 'nightly' }} base-url: https://packages.element.io/${{ inputs.mode == 'release' && 'desktop' || 'nightly' }}
version: ${{ needs.prepare.outputs.macos-version }} version: ${{ needs.prepare.outputs.macos-version }}
# We do not put this call into deploy-mode as we do not want it to add to the packages.element.io artifact # We do not put these calls into deploy-mode as we do not want it to add to the packages.element.io artifact
# We ship this build via reprepro only # We ship this build via reprepro only
linux: linux:
if: github.event_name != 'workflow_dispatch' || inputs.linux if: github.event_name != 'workflow_dispatch' || inputs.linux
needs: prepare needs: prepare
name: Linux (sqlcipher system) name: Linux ${{ matrix.arch }} (sqlcipher system)
strategy:
matrix:
arch: [amd64, arm64]
uses: ./.github/workflows/build_linux.yaml uses: ./.github/workflows/build_linux.yaml
with: with:
arch: amd64 arch: ${{ matrix.arch }}
config: element.io/${{ inputs.mode || 'nightly' }} config: element.io/${{ inputs.mode || 'nightly' }}
sqlcipher: system sqlcipher: system
version: ${{ needs.prepare.outputs.linux-version }} version: ${{ needs.prepare.outputs.linux-version }}
@ -156,9 +159,12 @@ jobs:
- linux - linux
# We queue this after the other deploy stage as we want to abort if that fails # We queue this after the other deploy stage as we want to abort if that fails
- deploy - deploy
name: Run reprepro name: Run reprepro ${{ matrix.arch }}
strategy:
matrix:
arch: [amd64, arm64]
if: github.event_name != 'workflow_dispatch' || (inputs.deploy && inputs.linux) if: github.event_name != 'workflow_dispatch' || (inputs.deploy && inputs.linux)
uses: ./.github/workflows/reprepro.yaml uses: ./.github/workflows/reprepro.yaml
secrets: inherit secrets: inherit
with: with:
artifact-name: linux-amd64-sqlcipher-system artifact-name: linux-${{ matrix.arch }}-sqlcipher-system