-
-
Notifications
You must be signed in to change notification settings - Fork 103
53 lines (44 loc) · 1.25 KB
/
main.yml
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
43
44
45
46
47
48
49
50
51
52
53
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@v4
- name: Install Dependencies
run: |
apt update
apt install -y gettext libadwaita-1-dev libappstream-dev libflatpak-dev libgee-0.8-dev libgranite-7-dev libgtk-4-dev libjson-glib-dev libportal-dev libportal-gtk4-dev libsoup-3.0-dev libxml2-dev libxml2-utils libpolkit-gobject-1-dev meson sassc valac
- name: Build and Test
env:
DESTDIR: out
run: |
meson setup -Dintegration_tests=true build
ninja -C build install
ninja -C build test
- name: Build and Test (Fedora)
env:
DESTDIR: out
run: |
meson configure -Dintegration_tests=true -Dcurated=false -Dpayments=false build
ninja -C build install
ninja -C build test
lint:
runs-on: ubuntu-22.04
container:
image: valalang/lint
steps:
- uses: actions/checkout@v4
- name: Lint
run: io.elementary.vala-lint -d .