-
-
Notifications
You must be signed in to change notification settings - Fork 7
30 lines (23 loc) · 844 Bytes
/
build.yaml
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
name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
flatpak:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.1
- name: Update package lists
run: sudo apt-get update
- name: Install build tools
run: sudo apt-get install meson git gettext flatpak flatpak-builder
- name: Install build dependencies
run: |
sudo apt-get install libadwaita-1-dev libgpgme-dev
flatpak remote-add --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install --user --assumeyes org.gnome.Sdk//47 org.gnome.Platform//47
- name: Build development profile
run: flatpak-builder --user --install --install-deps-from=flathub --force-clean _meson com.konstantintutsch.Lock.Devel.yaml