-
Notifications
You must be signed in to change notification settings - Fork 189
65 lines (54 loc) · 1.43 KB
/
build-ci.yaml
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
54
55
56
57
58
59
60
61
62
63
64
65
name: Build CI test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
build-type: ['default', 'full']
steps:
- name: Pull Yaru
uses: actions/checkout@v4
- name: Check sources structure
run: |
# No symlinks should be in icons sources, they should be handled through lists
test -z "$(find icons/src/{fullcolor,scalable} -type l)"
- name: Install dependencies
run: |
sudo apt install sassc libxml2-utils python3-pip
sudo pip3 install meson ninja
- name: Configure Default
if: ${{ matrix.build-type == 'default' }}
run: |
meson _build
- name: Configure Full
if: ${{ matrix.build-type == 'full' }}
run: |
meson _build \
-Dauto_features=enabled \
-Dgnome-shell-gresource=true \
-Dmate=true \
-Dmate-dark=true \
-Dubuntu-unity=true \
-Dxfwm4=true \
-Dcinnamon-shell=true \
-Dcinnamon=true \
-Dcinnamon-dark=true
- name: Build
run: |
ninja -C _build
- name: Test
run: |
meson test -C _build
- name: Install
run: |
ninja -C _build install
- name: Archiving meson logs
uses: actions/upload-artifact@v4
with:
name: meson-logs-${{ matrix.build-type }}
path: _build/meson-logs