-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (36 loc) · 945 Bytes
/
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
name: main
on:
pull_request:
branches: [ main, rewrite ]
jobs:
pre-commit:
runs-on: ubuntu-24.04
env:
RAWTERM_DEBUG: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: sudo apt-get install clang clang-tidy
- run: sudo apt-get remove zlib1g-dev
- uses: threeal/[email protected]
with:
run-build: true
options: RUN_TESTS=true
generator: Ninja
- uses: pre-commit/[email protected]
unit-tests:
runs-on: ubuntu-24.04
env:
RAWTERM_DEBUG: true
steps:
- uses: actions/checkout@v4
- run: sudo apt-get install clang clang-tidy
- run: sudo apt-get remove zlib1g-dev
- uses: threeal/[email protected]
with:
run-build: true
options: RUN_TESTS=true
generator: Ninja
- run: ./build/tests/test_exe