forked from KatanaGraph/katana
-
Notifications
You must be signed in to change notification settings - Fork 0
63 lines (59 loc) · 1.65 KB
/
cpp_bypass.yaml
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
name: C/C++ CI
on:
pull_request:
paths:
- 'docs/**'
# Cancel any previous runs with the same key.
concurrency:
# Example key: Repository Structure CI-refs/pull/1381/merge
# or Repository Structure CI-<owner>-<sha> for pushes
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || format('{0}-{1}', github.repository_owner, github.sha) }}_bypass
cancel-in-progress: true
jobs:
lint:
runs-on: ${{matrix.os}}
strategy:
matrix:
os:
- ubuntu-20.04
build_type:
- Debug
steps:
- run: 'echo "lint not required" '
build_and_test:
runs-on: ${{matrix.os}}
strategy:
matrix:
os:
- ubuntu-20.04
build_type:
- Debug
- Release
- Sanitizer
cxx:
- g++
- g++-9
- clang++-10
- clang++-12
# Only build and test the following configurations a subset of
# configurations to reduce the total number of concurrent jobs.
#
# The key "include" exists but only allows for the refinement of an
# existing matrix "job" (i.e., point in the product space) by adding
# more variables. Fallback to "exclude".
exclude:
# Ubuntu ({g++-9,clang++-10} [most])
- os: ubuntu-20.04
build_type: Sanitizer
cxx: g++
- os: ubuntu-20.04
build_type: Sanitizer
cxx: g++-9
- os: ubuntu-20.04
build_type: Debug
cxx: clang++-10
- os: ubuntu-20.04
build_type: Debug
cxx: clang++-12
steps:
- run: 'echo "build_and_test not required" '