This repository has been archived by the owner on May 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
191 lines (168 loc) · 4.41 KB
/
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
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
name: CI
on:
workflow_dispatch:
inputs:
reset-cache:
type: boolean
default: true
push:
branches: main
pull_request:
branches: main
schedule:
- cron: '51 2 * * *'
jobs:
build:
name: Build
uses: ./.github/workflows/build.yml
with:
name: 'gcc-cpu'
build-cuda:
name: Build
uses: ./.github/workflows/build.yml
with:
name: cuda
cuda_compiler_version: 12-2
options: -DENABLE_CUDA=on
build-clang:
name: Build
uses: ./.github/workflows/build.yml
with:
name: 'clang-cpu'
options: -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
build-asan:
name: Build
uses: ./.github/workflows/build.yml
with:
name: asan
options: -DENABLE_ASAN=on
build-l0:
name: Build
uses: ./.github/workflows/build.yml
with:
name: l0
options: -DENABLE_L0=on
build-both-l0-cuda:
name: Build
uses: ./.github/workflows/build.yml
with:
name: 'all-gpus'
cuda_compiler_version: 12-0
options: -DENABLE_L0=on -DENABLE_CUDA=on
style:
name: Style-check
needs: build
uses: ./.github/workflows/test.yml
with:
cache-suffix: ${{ needs.build.outputs.cache-suffix }}
test: style
test:
name: Gtests (Sanity)
needs: build
uses: ./.github/workflows/test.yml
with:
name: 'gcc-cpu'
cache-suffix: ${{ needs.build.outputs.cache-suffix }}
test: sanity
test-l0:
name: CPU-only Gtests (Sanity)
needs: build-l0
uses: ./.github/workflows/test.yml
with:
name: l0
cache-suffix: ${{ needs.build.outputs.cache-suffix }}
test: sanity_cpu
test-clang:
name: Gtests (Sanity)
needs: build-clang
uses: ./.github/workflows/test.yml
with:
name: 'clang-cpu'
cache-suffix: ${{ needs.build.outputs.cache-suffix }}
test: sanity
asan:
name: ASAN Gtests
needs: build-asan
uses: ./.github/workflows/test.yml
with:
cache-suffix: ${{ needs.build.outputs.cache-suffix }}
test: asan
# Dependency of 'asan' job issued by RelAlg cache reusage
test-asan-docker:
name: ASAN Gtests
needs: asan
uses: ./.github/workflows/test-docker.yml
with:
name: conda
build-name: asan
reset-cache: ${{ !!inputs.reset-cache }}
runner: asan
build-cuda-docker:
name: Build
uses: ./.github/workflows/build-docker.yml
with:
name: cuda
options: -DENABLE_PYTHON=off -DENABLE_CUDA=on
build-clang-docker:
name: Build
uses: ./.github/workflows/build-docker.yml
with:
name: 'clang-cpu'
options: -DENABLE_PYTHON=off -DENABLE_CUDA=on -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
test-cuda-docker:
name: Gtests (Sanity)
needs: build-cuda-docker
uses: ./.github/workflows/test-docker.yml
with:
name: cuda
# input for a push event is an empty string, convert it to boolean
reset-cache: ${{ !!inputs.reset-cache }}
test-clang-docker:
name: Gtests (Sanity)
needs: build-clang-docker
uses: ./.github/workflows/test-docker.yml
with:
name: 'clang-cpu'
# input for a push event is an empty string, convert it to boolean
reset-cache: ${{ !!inputs.reset-cache }}
build-l0-docker:
name: Build
uses: ./.github/workflows/build-docker.yml
with:
name: l0
options: -DENABLE_L0=on -DENABLE_CUDA=off -DENABLE_PYTHON=off
test-l0-docker:
name: Gtests (Sanity)
needs: build-l0-docker
uses: ./.github/workflows/test-docker.yml
with:
name: l0
reset-cache: ${{ !!inputs.reset-cache }}
runner: intel-ai.hdk.l0
test-l0-pvc-docker:
name: Gtests (Sanity)
needs: build-l0-docker
uses: ./.github/workflows/test-docker.yml
with:
name: l0
reset-cache: ${{ !!inputs.reset-cache }}
runner: intel-ai.hdk.pvc
build-windows:
name: Build
uses: ./.github/workflows/build-windows.yml
with:
name: 'gcc-cpu'
options: -DCMAKE_BUILD_TYPE=Release -DENABLE_FOLLY=off -G "Visual Studio 17 2022"
test-windows:
name: Gtests (Sanity)
needs: build-windows
uses: ./.github/workflows/test-windows.yml
with:
cache-suffix: ${{ needs.build-windows.outputs.cache-suffix }}
test: sanity
modin:
name: Integration HDK with Modin (Pytest)
uses: ./.github/workflows/modin.yml
pytest:
name: PyHDK (Pytest)
uses: ./.github/workflows/pytest.yml