-
-
Notifications
You must be signed in to change notification settings - Fork 102
107 lines (84 loc) · 2.87 KB
/
Copy pathc-cpp.yml
File metadata and controls
107 lines (84 loc) · 2.87 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
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
name: CI
on:
push:
branches: ["main"]
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
timeout-minutes: 30
container: fedora:44
env:
DWM_TEST_TMP_ROOT: /var/tmp/dwm-titus-tests
steps:
- name: Install checkout dependency
run: dnf install -y --setopt=install_weak_deps=False git
- uses: actions/checkout@v7
with:
persist-credentials: false
- name: Trust the container checkout
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Install build and validation dependencies
run: |
dnf install -y --setopt=install_weak_deps=False \
gcc make diffutils dbus-daemon \
pkgconf-pkg-config ShellCheck shfmt pykickstart \
xorg-x11-server-Xvfb xdotool xprop xset \
libX11-devel libXft-devel libXinerama-devel libXrender-devel \
imlib2-devel libxcb-devel xcb-util-devel \
fontconfig-devel freetype-devel
- name: Validate
run: scripts/run-tests
- name: Validate nested X11 runtime
run: scripts/run-tests make check-xvfb-runtime check-monitor-tags
clang-build:
runs-on: ubuntu-latest
timeout-minutes: 15
container: fedora:44
steps:
- name: Install checkout dependency
run: dnf install -y --setopt=install_weak_deps=False git
- uses: actions/checkout@v7
with:
persist-credentials: false
- name: Install Clang and build dependencies
run: |
dnf install -y --setopt=install_weak_deps=False \
clang make pkgconf-pkg-config \
libX11-devel libXft-devel libXinerama-devel libXrender-devel \
imlib2-devel libxcb-devel xcb-util-devel \
fontconfig-devel freetype-devel
- name: Build with Clang
run: make clean all CC=clang
fedora-smoke:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- name: Validate Fedora 44
env:
CONTAINER_ENGINE: docker
DWM_CONTAINER_FEDORA_IMAGE: fedora:44
run: scripts/run-tests make check-container-smoke
quickshell-qml:
runs-on: ubuntu-latest
timeout-minutes: 15
container: fedora:44
steps:
- name: Install checkout dependency
run: dnf install -y --setopt=install_weak_deps=False git
- uses: actions/checkout@v7
with:
persist-credentials: false
- name: Install Quickshell QML lint dependencies
run: dnf install -y --setopt=install_weak_deps=False make quickshell qt6-qtdeclarative-devel
- name: Validate Quickshell QML
run: scripts/run-tests make check-quickshell-qml