-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (39 loc) · 1.13 KB
/
testsuite.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
name: Test Suite
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
CI:
runs-on: ubuntu-latest
strategy:
matrix:
opensuse: [tumbleweed]
compiler: [clang]
build-type: [debug, release]
# include:
# - build-type: debug
# - build-type: release
container:
image: opensuse/${{ matrix.opensuse }}
options: --privileged
steps:
- name: dependencies
run: zypper -n install libelf-devel
llvm16-libclang13 clang16-devel libclang-cpp16
clang-tools libLLVM16 llvm16 llvm16-devel meson ninja
python311-psutil python311-pexpect python311-subprocess-tee
python311-pytest gcc findutils bash
- uses: actions/checkout@v2
- name: meson
run: meson setup build --buildtype=${{ matrix.build-type }} --native-file ce-native.ini
- name: build
run: meson compile -C build/ -v
id: build
- name: test
run: meson test -C build/ -v
id: check
- name: diagnostics
if: failure () && steps.check.outcome == 'failure'
run: cat build/meson-logs/testlog.log