Skip to content

Commit

Permalink
Update nightly.yml for arm builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Doublonmousse authored Jan 3, 2025
1 parent d3d1daf commit 9319dd9
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,37 @@
name: Nightly

on:
schedule:
- cron: "0 8 * * 1"
workflow_dispatch:
workflow_call:

jobs:
flatpak:
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-47
image: bilelmoussaoui/flatpak-github-actions:gnome-46
options: --privileged
strategy:
matrix:
arch: [x86_64, aarch64]
# Don't fail the whole workflow if one architecture fails
fail-fast: false
steps:
- uses: actions/checkout@v4
# Docker is required by the docker/setup-qemu-action which enables emulation
- name: Install deps
if: ${{ matrix.arch != 'x86_64' }}
run: |
dnf -y install docker
- name: Set up QEMU
if: ${{ matrix.arch != 'x86_64' }}
id: qemu
uses: docker/setup-qemu-action@v2
with:
platforms: arm64
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
manifest-path: build-aux/com.github.flxzt.rnote.Devel.yaml
cache-key: flatpak-builder-${{ github.sha }}
arch: x86_64
build-bundle: true
arch: ${{ matrix.arch }}
bundle: com.github.flxzt.rnote.Devel.flatpak

0 comments on commit 9319dd9

Please sign in to comment.