gala/.github/workflows/main.yml

76 lines
2.0 KiB
YAML
Raw Normal View History

2019-12-19 01:38:02 +03:00
name: CI
2023-01-05 23:30:28 +03:00
on:
pull_request:
types:
- opened
- reopened
- synchronize
2019-12-19 01:38:02 +03:00
jobs:
build:
2023-01-05 23:30:28 +03:00
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
2019-12-19 01:38:02 +03:00
container:
image: ghcr.io/elementary/docker:${{ matrix.version }}
2019-12-19 01:38:02 +03:00
steps:
- uses: actions/checkout@v4
2019-12-19 01:38:02 +03:00
- name: Install Dependencies
run: |
apt update
apt install -y gettext gsettings-desktop-schemas-dev libatk-bridge2.0-dev libcanberra-dev libclutter-1.0-dev libgee-0.8-dev libglib2.0-dev libgnome-desktop-3-dev libgranite-dev libgtk-3-dev ${{ matrix.mutter_pkg }} libxml2-utils libsqlite3-dev meson valac valadoc
2019-12-19 01:38:02 +03:00
- name: Build
env:
DESTDIR: out
run: |
meson build -Ddocumentation=true
2019-12-19 01:38:02 +03:00
ninja -C build
ninja -C build install
2020-01-09 21:31:15 +03:00
2024-11-08 01:43:41 +03:00
fedora:
runs-on: ubuntu-latest
container:
image: fedora:latest
steps:
- uses: actions/checkout@v4
- name: Install Dependencies
run: |
dnf install -y desktop-file-utils gettext gsettings-desktop-schemas-devel atk-devel libcanberra-devel clutter-devel libgee-devel glib2-devel gnome-desktop3-devel granite-devel granite-7-devel gtk3-devel gtk4-devel libhandy-devel mutter-devel xml2 sqlite-devel meson valac valadoc
- name: Build
env:
DESTDIR: out
run: |
meson build
ninja -C build install
2020-01-09 21:31:15 +03:00
lint:
runs-on: ubuntu-latest
2020-01-09 21:31:15 +03:00
container:
image: valalang/lint
2020-01-09 21:31:15 +03:00
steps:
- uses: actions/checkout@v4
2020-01-09 21:31:15 +03:00
- name: Lint
run: |
io.elementary.vala-lint -d daemon
io.elementary.vala-lint -d lib
io.elementary.vala-lint -d plugins
io.elementary.vala-lint -d src