Workflows: add Fedora to CI #1082
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-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
version: [stable, unstable, development-target] | |
include: | |
- version: stable | |
mutter_pkg: libmutter-14-dev | |
- version: unstable | |
mutter_pkg: libmutter-14-dev | |
- version: development-target | |
mutter_pkg: libmutter-14-dev | |
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 libaccountsservice-dev libgdk-pixbuf2.0-dev libgnome-desktop-3-dev libgranite-dev libgtk-3-dev libhandy-1-dev liblightdm-gobject-1-dev ${{ matrix.mutter_pkg }} libx11-dev meson valac | |
- name: Build | |
env: | |
DESTDIR: out | |
run: | | |
meson build | |
ninja -C build install | |
fedora: | |
runs-on: ubuntu-latest | |
container: | |
image: fedora:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: | | |
dnf install -y desktop-file-utils accountsservice-devel gdk-pixbuf2-devel gnome-desktop3-devel granite-devel gtk3-devel libhandy-devel lightdm-gobject-devel mutter-devel libX11-devel meson valac | |
- name: Build | |
env: | |
DESTDIR: out | |
run: | | |
meson 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 compositor | |
io.elementary.vala-lint -d src | |