mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 16:31:58 +02:00
Merge pull request #145 from Rafostar/actions-aarch64
Add aarch64 builds to git actions
This commit is contained in:
@@ -1,21 +1,34 @@
|
|||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * *"
|
- cron: "0 0 * * *"
|
||||||
name: "Flatpak Testing"
|
name: "Flatpak Nightly"
|
||||||
jobs:
|
jobs:
|
||||||
flatpak:
|
flatpak:
|
||||||
name: "Flatpak"
|
name: "Flatpak"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: bilelmoussaoui/flatpak-github-actions:gnome-40
|
image: bilelmoussaoui/flatpak-github-actions:gnome-nightly
|
||||||
options: --privileged
|
options: --privileged
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
arch: [x86_64, aarch64]
|
||||||
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v3
|
- name: Install Docker
|
||||||
|
run: |
|
||||||
|
dnf -y install docker
|
||||||
|
- name: Setup QEMU
|
||||||
|
id: qemu
|
||||||
|
uses: docker/setup-qemu-action@v1
|
||||||
|
with:
|
||||||
|
platforms: arm64
|
||||||
|
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
|
||||||
name: "Build"
|
name: "Build"
|
||||||
with:
|
with:
|
||||||
bundle: com.github.rafostar.Clapper.flatpak
|
bundle: com.github.rafostar.Clapper.flatpak
|
||||||
manifest-path: pkgs/flatpak/com.github.rafostar.Clapper-testing.json
|
manifest-path: pkgs/flatpak/com.github.rafostar.Clapper-testing.json
|
||||||
cache-key: flatpak-builder-${{ github.sha }}-testing-${{ github.run_number }}
|
cache-key: flatpak-builder-${{ github.sha }}-testing-${{ github.run_number }}
|
||||||
|
arch: ${{ matrix.arch }}
|
15
.github/workflows/flatpak.yml
vendored
15
.github/workflows/flatpak.yml
vendored
@@ -13,13 +13,26 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: bilelmoussaoui/flatpak-github-actions:gnome-40
|
image: bilelmoussaoui/flatpak-github-actions:gnome-40
|
||||||
options: --privileged
|
options: --privileged
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
arch: [x86_64, aarch64]
|
||||||
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v3
|
- name: Install Docker
|
||||||
|
run: |
|
||||||
|
dnf -y install docker
|
||||||
|
- name: Setup QEMU
|
||||||
|
id: qemu
|
||||||
|
uses: docker/setup-qemu-action@v1
|
||||||
|
with:
|
||||||
|
platforms: arm64
|
||||||
|
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
|
||||||
name: "Build"
|
name: "Build"
|
||||||
with:
|
with:
|
||||||
bundle: com.github.rafostar.Clapper.flatpak
|
bundle: com.github.rafostar.Clapper.flatpak
|
||||||
manifest-path: pkgs/flatpak/com.github.rafostar.Clapper.json
|
manifest-path: pkgs/flatpak/com.github.rafostar.Clapper.json
|
||||||
cache-key: flatpak-builder-${{ github.sha }}
|
cache-key: flatpak-builder-${{ github.sha }}
|
||||||
|
arch: ${{ matrix.arch }}
|
||||||
|
Reference in New Issue
Block a user