mirror of
https://github.com/element-hq/element-desktop
synced 2025-03-13 07:48:39 +01:00
Test static arm64 linux builds
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
031d5a5d8f
commit
9f0d51aef2
13
.github/workflows/build_and_deploy.yaml
vendored
13
.github/workflows/build_and_deploy.yaml
vendored
@ -86,9 +86,6 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
arch: [amd64, arm64]
|
arch: [amd64, arm64]
|
||||||
sqlcipher: [system, static]
|
sqlcipher: [system, static]
|
||||||
exclude:
|
|
||||||
- arch: arm64
|
|
||||||
sqlcipher: static
|
|
||||||
uses: ./.github/workflows/build_linux.yaml
|
uses: ./.github/workflows/build_linux.yaml
|
||||||
with:
|
with:
|
||||||
arch: ${{ matrix.arch }}
|
arch: ${{ matrix.arch }}
|
||||||
@ -136,6 +133,10 @@ jobs:
|
|||||||
mkdir -p packages.element.io/install/linux/glibc-x86-64
|
mkdir -p packages.element.io/install/linux/glibc-x86-64
|
||||||
mv linux-amd64-sqlcipher-static/*.tar.gz packages.element.io/install/linux/glibc-x86-64
|
mv linux-amd64-sqlcipher-static/*.tar.gz packages.element.io/install/linux/glibc-x86-64
|
||||||
fi
|
fi
|
||||||
|
if [ -d linux-arm64-sqlcipher-static ]; then
|
||||||
|
mkdir -p packages.element.io/install/linux/glibc-aarch64
|
||||||
|
mv linux-arm64-sqlcipher-static/*.tar.gz packages.element.io/install/linux/glibc-aarch64
|
||||||
|
fi
|
||||||
|
|
||||||
# We don't wish to store the installer for every nightly ever, so we only keep the latest
|
# We don't wish to store the installer for every nightly ever, so we only keep the latest
|
||||||
- name: "[Nightly] Strip version from installer file"
|
- name: "[Nightly] Strip version from installer file"
|
||||||
@ -152,6 +153,7 @@ jobs:
|
|||||||
|
|
||||||
# Linux
|
# Linux
|
||||||
[ -d linux-amd64-sqlcipher-static ] && mv packages.element.io/install/linux/glibc-x86-64/{*,element-desktop-nightly}.tar.gz
|
[ -d linux-amd64-sqlcipher-static ] && mv packages.element.io/install/linux/glibc-x86-64/{*,element-desktop-nightly}.tar.gz
|
||||||
|
[ -d linux-arm64-sqlcipher-static ] && mv packages.element.io/install/linux/glibc-aarch64/{*,element-desktop-nightly}.tar.gz
|
||||||
|
|
||||||
- name: "[Release] Prepare release latest symlink"
|
- name: "[Release] Prepare release latest symlink"
|
||||||
if: needs.prepare.outputs.nightly-version == ''
|
if: needs.prepare.outputs.nightly-version == ''
|
||||||
@ -179,6 +181,11 @@ jobs:
|
|||||||
ln -s "$(find . -type f -iname "*.tar.gz" | xargs -0 -n1 -- basename)" "element-desktop.tar.gz"
|
ln -s "$(find . -type f -iname "*.tar.gz" | xargs -0 -n1 -- basename)" "element-desktop.tar.gz"
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
if [ -d linux-arm64-sqlcipher-static ]; then
|
||||||
|
pushd packages.element.io/install/linux/glibc-aarch64
|
||||||
|
ln -s "$(find . -type f -iname "*.tar.gz" | xargs -0 -n1 -- basename)" "element-desktop.tar.gz"
|
||||||
|
popd
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Stash packages.element.io
|
- name: Stash packages.element.io
|
||||||
if: needs.prepare.outputs.deploy == 'false'
|
if: needs.prepare.outputs.deploy == 'false'
|
||||||
|
5
.github/workflows/build_and_test.yaml
vendored
5
.github/workflows/build_and_test.yaml
vendored
@ -79,11 +79,6 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
sqlcipher: [system, static]
|
sqlcipher: [system, static]
|
||||||
arch: [amd64, arm64]
|
arch: [amd64, arm64]
|
||||||
exclude:
|
|
||||||
# FIXME: This combination yields a broken Seshat at this time
|
|
||||||
# Errors at launch with `undefined symbol: PKCS5_PBKDF2_HMAC
|
|
||||||
- arch: arm64
|
|
||||||
sqlcipher: static
|
|
||||||
with:
|
with:
|
||||||
config: ${{ github.event.pull_request.base.ref == 'develop' && 'element.io/nightly' || 'element.io/release' }}
|
config: ${{ github.event.pull_request.base.ref == 'develop' && 'element.io/nightly' || 'element.io/release' }}
|
||||||
sqlcipher: ${{ matrix.sqlcipher }}
|
sqlcipher: ${{ matrix.sqlcipher }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user