Skip to content

Commit

Permalink
feat: Add ARM64 builds for RPM, DEB and Flatpak
Browse files Browse the repository at this point in the history
  • Loading branch information
pojntfx committed May 30, 2024
1 parent 30df90e commit fb2690a
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 15 deletions.
59 changes: 44 additions & 15 deletions .github/workflows/hydrapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build-linux:
runs-on: depot-ubuntu-22.04-32
runs-on: ${{ matrix.target.runner }}
permissions:
contents: read
strategy:
Expand All @@ -17,52 +17,81 @@ jobs:
# io.loopholelabs.latensee
- id: hydrapp-apk.io.loopholelabs.latensee
src: .
pkg: .
pkg: io.loopholelabs.latensee
exclude: deb|dmg|flatpak|msi|rpm|binaries|tests
tag: main
dst: out/*
- id: hydrapp-deb.io.loopholelabs.latensee
runner: depot-ubuntu-22.04-32
- id: hydrapp-deb-amd64.io.loopholelabs.latensee
src: .
pkg: .
exclude: apk|dmg|flatpak|msi|rpm|binaries|tests
pkg: io.loopholelabs.latensee
exclude: deb/arm64|apk|dmg|flatpak|msi|rpm|binaries|tests
tag: main
dst: out/*
runner: depot-ubuntu-22.04-32
- id: hydrapp-deb-arm64.io.loopholelabs.latensee
src: .
pkg: io.loopholelabs.latensee
exclude: deb/amd64|apk|dmg|flatpak|msi|rpm|binaries|tests
tag: main
dst: out/*
runner: depot-ubuntu-22.04-arm-32
- id: hydrapp-dmg.io.loopholelabs.latensee
src: .
pkg: .
pkg: io.loopholelabs.latensee
exclude: apk|deb|flatpak|msi|rpm|binaries|tests
tag: main
dst: out/*
- id: hydrapp-flatpak.io.loopholelabs.latensee
runner: depot-ubuntu-22.04-32
- id: hydrapp-flatpak-amd64.io.loopholelabs.latensee
src: .
pkg: io.loopholelabs.latensee
exclude: apk|deb|flatpak/arm64|dmg|msi|rpm|binaries|tests
tag: main
dst: out/*
runner: depot-ubuntu-22.04-32
- id: hydrapp-flatpak-arm64.io.loopholelabs.latensee
src: .
pkg: .
exclude: apk|deb|dmg|msi|rpm|binaries|tests
pkg: io.loopholelabs.latensee
exclude: apk|deb|flatpak/amd64|dmg|msi|rpm|binaries|tests
tag: main
dst: out/*
runner: depot-ubuntu-22.04-arm-32
- id: hydrapp-msi.io.loopholelabs.latensee
src: .
pkg: .
pkg: io.loopholelabs.latensee
exclude: apk|deb|flatpak|dmg|rpm|binaries|tests
tag: main
dst: out/*
- id: hydrapp-rpm.io.loopholelabs.latensee
runner: depot-ubuntu-22.04-32
- id: hydrapp-rpm-amd64.io.loopholelabs.latensee
src: .
pkg: io.loopholelabs.latensee
exclude: apk|deb|flatpak|dmg|rpm/arm64|msi|binaries|tests
tag: main
dst: out/*
runner: depot-ubuntu-22.04-32
- id: hydrapp-rpm-arm64.io.loopholelabs.latensee
src: .
pkg: .
exclude: apk|deb|flatpak|dmg|msi|binaries|tests
pkg: io.loopholelabs.latensee
exclude: apk|deb|flatpak|dmg|rpm/amd64|msi|binaries|tests
tag: main
dst: out/*
runner: depot-ubuntu-22.04-arm-32
- id: hydrapp-binaries.io.loopholelabs.latensee
src: .
pkg: .
pkg: io.loopholelabs.latensee
exclude: apk|deb|flatpak|dmg|msi|rpm|tests
tag: main
dst: out/*
runner: depot-ubuntu-22.04-32
- id: hydrapp-tests.io.loopholelabs.latensee
src: .
pkg: .
pkg: io.loopholelabs.latensee
exclude: apk|deb|flatpak|dmg|msi|rpm|binaries
tag: main
dst: out/*
runner: depot-ubuntu-22.04-32

steps:
- name: Maximize build space
Expand Down
17 changes: 17 additions & 0 deletions hydrapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,24 @@ deb:
debootstrapopts: ""
architecture: amd64
packages: []
- path: deb/debian/sid/aarch64
os: debian
distro: sid
mirrorsite: http://http.us.debian.org/debian
components:
- main
- contrib
debootstrapopts: ""
architecture: arm64
packages: []
dmg:
path: dmg
packages: []
flatpak:
- path: flatpak/x86_64
architecture: amd64
- path: flatpak/aarch64
architecture: arm64
msi:
- path: msi/x86_64
architecture: amd64
Expand All @@ -47,6 +59,11 @@ rpm:
distro: fedora-40
architecture: amd64
packages: []
- path: rpm/fedora/40/aarch64
trailer: fc40
distro: fedora-40
architecture: arm64
packages: []
apk:
path: apk
binaries:
Expand Down

0 comments on commit fb2690a

Please sign in to comment.