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
|
2023-03-18 21:15:59 +03:00
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
version: [stable, unstable, development-target]
|
2023-09-15 11:02:41 +03:00
|
|
|
include:
|
|
|
|
- version: stable
|
2024-09-25 17:22:02 +03:00
|
|
|
mutter_pkg: libmutter-14-dev
|
2023-09-15 11:02:41 +03:00
|
|
|
- version: unstable
|
2024-09-25 17:22:02 +03:00
|
|
|
mutter_pkg: libmutter-14-dev
|
2023-09-15 11:02:41 +03:00
|
|
|
- version: development-target
|
2024-04-08 07:20:13 +03:00
|
|
|
mutter_pkg: libmutter-14-dev
|
2019-12-19 01:38:02 +03:00
|
|
|
container:
|
2023-03-18 21:15:59 +03:00
|
|
|
image: ghcr.io/elementary/docker:${{ matrix.version }}
|
|
|
|
|
2019-12-19 01:38:02 +03:00
|
|
|
steps:
|
2023-09-04 22:39:52 +03:00
|
|
|
- uses: actions/checkout@v4
|
2019-12-19 01:38:02 +03:00
|
|
|
- name: Install Dependencies
|
|
|
|
run: |
|
|
|
|
apt update
|
2024-08-20 22:59:52 +03:00
|
|
|
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: |
|
2024-02-14 20:31:33 +03:00
|
|
|
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
|
2023-03-18 21:15:59 +03:00
|
|
|
|
2020-01-09 21:31:15 +03:00
|
|
|
container:
|
|
|
|
image: valalang/lint
|
2023-03-18 21:15:59 +03:00
|
|
|
|
2020-01-09 21:31:15 +03:00
|
|
|
steps:
|
2023-09-04 22:39:52 +03:00
|
|
|
- uses: actions/checkout@v4
|
2020-01-09 21:31:15 +03:00
|
|
|
- name: Lint
|
2021-08-17 01:23:46 +03:00
|
|
|
run: |
|
2021-11-20 19:56:53 +03:00
|
|
|
io.elementary.vala-lint -d daemon
|
2021-08-17 01:23:46 +03:00
|
|
|
io.elementary.vala-lint -d lib
|
|
|
|
io.elementary.vala-lint -d plugins
|
|
|
|
io.elementary.vala-lint -d src
|