-
-
Notifications
You must be signed in to change notification settings - Fork 5
78 lines (70 loc) · 2.51 KB
/
change.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# SPDX-FileCopyrightText: 2024 Roman Gilg <subdiff@gmail.com>
# SPDX-License-Identifier: MIT
name: CI
on:
- push
- pull_request
jobs:
message-lint:
uses: ./.github/workflows/commit-lint.yml
with:
upstream-repo: https://github.com/winft/como.git
reuse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: REUSE Compliance
uses: fsfe/reuse-action@v2
clang-format:
uses: ./.github/workflows/clang-format.yml
coverage-build:
uses: ./.github/workflows/build.yml
with:
image: registry.gitlab.com/kwinft/ci-images/archlinux/kwinft-base-master
artifact-name: coverage-build
cmake-preset: gcc-cov
builds:
strategy:
matrix:
preset: [clang, release]
uses: ./.github/workflows/build.yml
with:
image: registry.gitlab.com/kwinft/ci-images/archlinux/kwinft-base-master
artifact-name: '${{ matrix.preset }}-build'
cmake-preset: ${{ matrix.preset }}
install:
uses: ./.github/workflows/install.yml
needs: builds
with:
image: registry.gitlab.com/kwinft/ci-images/archlinux/kwinft-base-master
artifact-name: release-build
test:
uses: ./.github/workflows/test.yml
needs: coverage-build
secrets: inherit
with:
image: registry.gitlab.com/kwinft/ci-images/archlinux/kwinft-base-master
artifact-name: coverage-build
# Following tests are currently disabled on CI:
# * lockscreen, modifier-only-shortcut: flaky on CI because the lockscreen greeter process likes to
# freeze off. Also see: https://bugreports.qt.io/browse/QTBUG-82911
# * all others: the GLES2 backend of wlroots can't be run in CI/without GPU at the moment,
# see https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/2871
ctest-args:
"-E 'lockscreen|modifier only shortcut|no crash empty deco|no crash no border\
|scene opengl|opengl shadow|no crash reinit compositor|buffer size change\
|no crash aurorae destroy deco|slidingpopups|scripted effects|window open close animation\
|subspace switching animation|minimize animation'"
clang-tidy:
uses: ./.github/workflows/clang-tidy.yml
needs: builds
with:
image: registry.gitlab.com/kwinft/ci-images/archlinux/kwinft-base-master
artifact-name: clang-build
package:
uses: ./.github/workflows/package.yml
needs: builds
with:
image: registry.gitlab.com/kwinft/ci-images/archlinux/kwinft-base-master
artifact-name: clang-build
package-name: como