Skip to content

Merge pull request #22 from alexkdeveloper/v2 #45

Merge pull request #22 from alexkdeveloper/v2

Merge pull request #22 from alexkdeveloper/v2 #45

Workflow file for this run

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