-
-
Notifications
You must be signed in to change notification settings - Fork 6
71 lines (70 loc) · 1.4 KB
/
stdc++version.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
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
name: Std C++ Version Tests
on:
pull_request:
branches:
- master
- develop
- 'feature/**'
- 'fix/**'
- 'gh/**'
- 'github/**'
- 'githubactions/**'
paths-ignore:
- '*.ini'
- '*.md'
- '*.yml'
- '*.yaml'
- '.circleci/**'
- '.semaphore/**'
push:
branches:
- master
- develop
paths-ignore:
- '*.ini'
- '*.md'
- '*.yml'
- '*.yaml'
- '.circleci/**'
- '.semaphore/**'
jobs:
stdc-versions-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
CXX:
- g++-12
- g++-13
- g++-14
- clang++-16
- clang++-17
- clang++-18
STDFLAG:
- -std=c++20
- -std=c++17
- -std=c++14
- -std=c++11
env:
CXX: ${{ matrix.CXX }}
STDFLAG: ${{ matrix.STDFLAG }}
OUTPUTXML: junit
steps:
- uses: actions/checkout@v4
- name: info
uses: ./.github/actions/composite/test-info
- name: build
run: |
make -C test -j8
- name: test
run: |
make -C test test
- name: report
run: |
make -C test report
if: always()
- name: report summary
uses: ./.github/actions/composite/test-report
with:
report_paths: test/*.xml
if: always()