Fix GNOME SDK version number in CI (44 -> 45) #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 & Test | |
on: | |
push: | |
branches: [ v2 ] | |
pull_request: | |
branches: [ v2 ] | |
jobs: | |
build-n-test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- 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@v3 | |
- 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//45 org.gnome.Platform//45 -y | |
- name: Build | |
run: dev-scripts/build.sh |