mirror of
https://github.com/elementary/gala.git
synced 2024-12-24 01:36:05 +03:00
c789d9118b
Co-authored-by: Leo <lenemter@gmail.com>
51 lines
1.2 KiB
YAML
51 lines
1.2 KiB
YAML
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]
|
|
container:
|
|
image: ghcr.io/elementary/docker:${{ matrix.version }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Install Dependencies
|
|
run: |
|
|
apt update
|
|
apt install -y gettext gnome-settings-daemon-dev gsettings-desktop-schemas-dev libbamf3-dev libcanberra-dev libcanberra-gtk3-dev libclutter-1.0-dev libgee-0.8-dev libglib2.0-dev libgnome-desktop-3-dev libgranite-dev libgtk-3-dev libmutter-10-dev libplank-dev libxml2-utils libgexiv2-dev meson valac valadoc
|
|
- name: Build
|
|
env:
|
|
DESTDIR: out
|
|
run: |
|
|
meson build
|
|
ninja -C build
|
|
ninja -C build install
|
|
|
|
lint:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
image: valalang/lint
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- 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
|