-
-
Notifications
You must be signed in to change notification settings - Fork 35
34 lines (26 loc) · 649 Bytes
/
Copy pathci.yml
File metadata and controls
34 lines (26 loc) · 649 Bytes
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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
build-and-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y gcc make libwayland-dev wayland-protocols \
clang-format clang-tidy
- name: Check formatting
run: make format-check
- name: Build release
run: make release
- name: Build debug (ASan + UBSan)
run: make clean && make debug
- name: Run tests
run: make test