-
-
Notifications
You must be signed in to change notification settings - Fork 215
48 lines (48 loc) · 1.37 KB
/
build.yml
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
45
46
47
48
on:
push:
branches: [master]
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@main
with:
dir: .
conf: .vala-lint.conf
flatpak:
name: "Flatpak"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-46
options: --privileged
steps:
- uses: actions/checkout@v4
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: io.github.alainm23.planify.Devel.flatpak
manifest-path: build-aux/io.github.alainm23.planify.Devel.json
cache-key: flatpak-builder-${{ github.sha }}
repository-name: flathub-beta
repository-url: https://flathub.org/beta-repo/flathub-beta.flatpakrepo
# snap:
# name: "Snap"
# runs-on: ubuntu-latest
# steps:
# - name: Checkout Git repository
# uses: actions/checkout@v4
# - name: Build Snap
# uses: snapcore/action-build@v1
# id: snapcraft-build
# with:
# snapcraft-args: "--verbosity debug"
# - uses: actions/upload-artifact@v4
# with:
# name: planify_amd64_snap
# path: ${{ steps.snapcraft-build.outputs.snap }}