Skip to content

Merge pull request #28 from sameersharma2006/v2 #60

Merge pull request #28 from sameersharma2006/v2

Merge pull request #28 from sameersharma2006/v2 #60

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@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