Prepare support for other backends #486
Workflow file for this run
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: CI | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
version: [stable, unstable, development-target] | |
container: | |
image: ghcr.io/elementary/docker:${{ matrix.version }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: | | |
apt update | |
apt install -y desktop-file-utils gettext libadwaita-1-dev libdistinst-dev libgee-0.8-dev libgranite-7-dev libgtk-4-dev libxml2-dev libjson-glib-dev libpwquality-dev libxml2-utils meson valac | |
- name: Build and Test | |
env: | |
DESTDIR: out | |
run: | | |
meson setup build | |
ninja -C build install | |
lint: | |
runs-on: ubuntu-latest | |
container: | |
image: valalang/lint | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Lint | |
run: io.elementary.vala-lint -d . |