-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (49 loc) · 1.24 KB
/
test.yml
File metadata and controls
54 lines (49 loc) · 1.24 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
name: TEST
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
compile:
runs-on: ubuntu-latest
strategy:
matrix:
os:
- name: ubuntu
version: 24.04
build_type: [Release, Debug]
cpp_version: [20, 23, 26]
compiler:
- vendor: GNU
version: 13
- vendor: LLVM
version: 20
steps:
- uses: actions/checkout@v6
- name: configure
run: cmake -Stest -Bbuild
- name: build-${{ matrix.os.name }}
run: |
echo "CPPWARNINGNOTIFIER_LOG_MARKER"
cmake --build build
run-notifier:
needs:
- compile
runs-on: ubuntu-latest
permissions:
id-token: write
pull-requests: write
actions: read
steps:
- uses: actions/checkout@v6
- uses: ./
with:
RUN_ID: ${{ github.run_id }}
JOB_ID: ${{ job.check_run_id }}
STEP_REGEX: build-.*
JOB_REGEX: compile \((?<osName>.+?), (?<osVersion>.+?), (?<config>.+?), (?<cppVersion>.+?), (?<vendorName>.+?), (?<vendorVersion>.+?)\)
ROW_HEADERS: '["osName","osVersion","vendorName","vendorVersion","config"]'
COLUMN_HEADER: cppVersion