-
-
Notifications
You must be signed in to change notification settings - Fork 61
42 lines (37 loc) · 1.08 KB
/
main.yml
File metadata and controls
42 lines (37 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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@v6
- name: Install Dependencies
run: |
apt update
apt install -y meson gobject-introspection libgee-0.8-dev libgirepository1.0-dev libgtk-4-dev libshumate-dev sassc valac valadoc gtk-doc-tools
- name: Build
env:
DESTDIR: out
PKG_CONFIG_PATH: ${{ github.workspace }}/build/meson-uninstalled
run: |
meson setup build -Ddocumentation=true
ninja -C build
ninja -C build install
- name: Build and Test (Gtk Stylesheets)
env:
DESTDIR: out
PKG_CONFIG_PATH: ${{ github.workspace }}/build/meson-uninstalled
run: |
meson configure -Dgtk-stylesheets=true build
ninja -C build install