mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
Fix flatpak dependencies for ARM64 build
This commit is contained in:
parent
c77b7f8c74
commit
67c99dea2d
8
.github/workflows/test-arm64-fix.yml
vendored
8
.github/workflows/test-arm64-fix.yml
vendored
@ -14,6 +14,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
|
- name: Install system dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt-get update && sudo apt-get install -y flatpak-builder elfutils
|
||||||
|
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||||
|
FLATPAK_ARCH="aarch64"
|
||||||
|
FLATPAK_VERSION="24.08"
|
||||||
|
flatpak install --user --no-deps --arch $FLATPAK_ARCH --assumeyes runtime/org.freedesktop.Platform/$FLATPAK_ARCH/$FLATPAK_VERSION runtime/org.freedesktop.Sdk/$FLATPAK_ARCH/$FLATPAK_VERSION org.electronjs.Electron2.BaseApp/$FLATPAK_ARCH/$FLATPAK_VERSION
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile
|
||||||
- name: Test rebuild with TARGET_ARCH
|
- name: Test rebuild with TARGET_ARCH
|
||||||
|
Loading…
x
Reference in New Issue
Block a user