ci: add custom Flatpak Builder instructions #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
flatpak: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Update package lists | |
run: sudo apt-get update | |
- name: Install build tools | |
run: sudo apt-get install meson flatpak flatpak-builder | |
- name: Install build dependencies | |
run: | | |
sudo apt-get install libadwaita-1-dev | |
sudo flatpak remote-add flathub https://dl.flathub.org/repo/flathub.flatpakrepo | |
sudo flatpak install --assumeyes org.gnome.Sdk//47 org.gnome.Platform//47 | |
- name: Build development profile | |
run: | | |
sudo meson setup .meson-builder | |
sudo flatpak-builder --install --install-deps-from=flathub .meson-builder com.konstantintutsch.Lock.Devel.yaml |