Merge pull request #26 from yakushabb/fixtr #54
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 & Test | |
on: | |
push: | |
branches: [ v2 ] | |
pull_request: | |
branches: [ v2 ] | |
jobs: | |
build-n-test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: sudo apt-get install meson build-essential valac libadwaita-1-dev appstream-util desktop-file-utils gettext | |
- name: Configure | |
run: meson setup build | |
- name: Build | |
run: ninja -C build | |
- name: Test | |
run: ninja -C build test | |
flatpak-build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install flatpak-builder | |
run: sudo apt-get install flatpak-builder | |
- name: Add Flathub repository | |
run: sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo | |
- name: Install GNOME SDK & Platform | |
run: sudo flatpak install org.gnome.Sdk//46 org.gnome.Platform//46 -y | |
- name: Build | |
run: dev-scripts/build.sh |