mirror of
https://github.com/TakeV-Lambda/Tooth.git
synced 2024-11-02 14:04:14 +00:00
ee79f58262
* workflow: Build for aarch64 * feat(ci): limit qemu to aarch64 Co-authored-by: Evangelos Paterakis <evan@geopjr.dev>
35 lines
No EOL
1,017 B
YAML
35 lines
No EOL
1,017 B
YAML
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
name: CI
|
|
jobs:
|
|
flatpak-builder:
|
|
name: "Flatpak Builder"
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: bilelmoussaoui/flatpak-github-actions:gnome-43
|
|
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@v3
|
|
# Docker is required by the docker/setup-qemu-action which enables emulation
|
|
- name: Install deps
|
|
if: matrix.arch == 'aarch64'
|
|
run: dnf -y install docker
|
|
- name: Set up QEMU
|
|
if: matrix.arch == 'aarch64'
|
|
id: qemu
|
|
uses: docker/setup-qemu-action@v2
|
|
with:
|
|
platforms: arm64
|
|
- uses: flatpak/flatpak-github-actions/flatpak-builder@v5
|
|
with:
|
|
bundle: "dev.geopjr.tooth.Devel.flatpak"
|
|
manifest-path: "dev.geopjr.tooth.Devel.json"
|
|
cache-key: flatpak-builder-${{ github.sha }}
|
|
arch: ${{ matrix.arch }} |