-
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (44 loc) · 1.24 KB
/
build.yml
File metadata and controls
44 lines (44 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
name: CI
jobs:
lint:
name: "Vala Lint"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: elementary/actions/vala-lint@master
with:
conf: vala-lint.conf
flatpak-builder:
name: "Flatpak Builder"
needs: [ lint ]
container:
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-49
options: --privileged
strategy:
matrix:
variant:
- arch: x86_64
runner: ubuntu-latest
- arch: aarch64
runner: ubuntu-24.04-arm
# Don't fail the whole workflow if one architecture fails
fail-fast: false
runs-on: ${{ matrix.variant.runner }}
steps:
- uses: actions/checkout@v4
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: "dev.geopjr.Turntable.Devel.flatpak"
run-tests: true
manifest-path: "build-aux/dev.geopjr.Turntable.json"
cache-key: flatpak-builder-${{ github.sha }}
arch: ${{ matrix.variant.arch }}
repository-name: flathub
repository-url: https://dl.flathub.org/repo/flathub.flatpakrepo