Skip to content

Native iCloud apps for Windows and Linux, built in Rust. Notes, Reminders, Calendar, Contacts, Drive and Photos, offline and in sync with your iPhone.

Release: a .deb and .rpm for 64-bit ARM, built and started on ARM

Yashwanth Kamireddieea7fe557e40
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index bdc5334..50abc0f 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -43,9 +43,17 @@ jobs:
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
+ # On x86_64 and on 64-bit ARM (Linux on Apple Silicon Macs): each architecture's .deb and .rpm,
+ # built on a machine of that architecture and started there. The AppImage is x86_64 only.
linux:
needs: appimage
- runs-on: ubuntu-24.04
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - { arch: x64, runner: ubuntu-24.04 }
+ - { arch: arm64, runner: ubuntu-24.04-arm }
+ runs-on: ${{ matrix.runner }}
timeout-minutes: 60
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -85,6 +93,7 @@ jobs:
RUSTFLAGS: --remap-path-prefix=${{ github.workspace }}=skykeep
run: npx tauri build --bundles deb,rpm
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
+ if: matrix.arch == 'x64'
with:
name: skykeep-appimage
path: target/release/bundle/appimage
@@ -133,6 +142,7 @@ jobs:
/check/stays-up.sh rpm "$prog" --background
'
- name: The .AppImage starts, with the .deb removed
+ if: matrix.arch == 'x64'
run: |
sudo apt-get remove -y "$(dpkg-deb -f target/release/bundle/deb/*.deb Package)"
app=$(ls target/release/bundle/appimage/*.AppImage)
@@ -144,6 +154,7 @@ jobs:
# what every desktop has and an AppImage leaves to it (GL, X11, fonts, ALSA: linuxdeploy's
# excludelist) and the check's own Xvfb and D-Bus, then runs with --network none.
- name: The .AppImage starts offline, on Ubuntu 22.04 and Fedora 41
+ if: matrix.arch == 'x64'
run: |
app=$(ls target/release/bundle/appimage/*.AppImage)
chmod +x "$app"
@@ -168,15 +179,17 @@ jobs:
- name: Checksums
run: |
cd target/release/bundle
- sha256sum deb/*.deb rpm/*.rpm appimage/*.AppImage | sed 's# [a-z]*/# #' > SHA256SUMS-linux.txt
- cat SHA256SUMS-linux.txt
+ if [ "${{ matrix.arch }}" = x64 ]; then sums=SHA256SUMS-linux.txt; else sums=SHA256SUMS-linux-arm64.txt; fi
+ # shellcheck disable=SC2046
+ sha256sum deb/*.deb rpm/*.rpm $(ls appimage/*.AppImage 2>/dev/null) | sed 's# [a-z]*/# #' > "$sums"
+ cat "$sums"
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
- name: skykeep-linux
+ name: skykeep-linux-${{ matrix.arch }}
path: |
target/release/bundle/deb/*.deb
target/release/bundle/rpm/*.rpm
- target/release/bundle/SHA256SUMS-linux.txt
+ target/release/bundle/SHA256SUMS-linux*.txt
if-no-files-found: error
windows:
@@ -258,8 +271,10 @@ jobs:
}
copy '*-setup.exe' Skykeep-windows-x64-setup.exe
copy '*.msi' Skykeep-windows-x64.msi
- copy '*.deb' Skykeep-linux-amd64.deb
- copy '*.rpm' Skykeep-linux-x86_64.rpm
+ copy '*_amd64.deb' Skykeep-linux-amd64.deb
+ copy '*.x86_64.rpm' Skykeep-linux-x86_64.rpm
+ copy '*_arm64.deb' Skykeep-linux-arm64.deb
+ copy '*.aarch64.rpm' Skykeep-linux-aarch64.rpm
copy '*.AppImage' Skykeep-linux-x86_64.AppImage
copy '*.flatpak' Skykeep-linux-x86_64.flatpak
(cd "$out" && sha256sum Skykeep-* > SHA256SUMS-unversioned.txt && cat SHA256SUMS-unversioned.txt)