You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/reusable_basic.yml
+89-7Lines changed: 89 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -16,17 +16,101 @@ jobs:
16
16
ubuntu-build:
17
17
name: Ubuntu
18
18
strategy:
19
-
fail-fast: false
20
19
matrix:
21
20
os: ['ubuntu-20.04', 'ubuntu-22.04']
22
21
build_type: [Debug, Release]
23
-
shared_library: ['ON']
22
+
compiler: [{c: gcc, cxx: g++}]
23
+
shared_library: ['OFF']
24
24
level_zero_provider: ['ON']
25
25
cuda_provider: ['ON']
26
26
install_tbb: ['ON']
27
27
disable_hwloc: ['OFF']
28
28
link_hwloc_statically: ['OFF']
29
-
compiler: [{c: icx, cxx: icpx}]
29
+
include:
30
+
- os: 'ubuntu-20.04'
31
+
build_type: Release
32
+
compiler: {c: gcc-7, cxx: g++-7}
33
+
shared_library: 'OFF'
34
+
level_zero_provider: 'ON'
35
+
cuda_provider: 'ON'
36
+
install_tbb: 'ON'
37
+
disable_hwloc: 'OFF'
38
+
link_hwloc_statically: 'OFF'
39
+
- os: 'ubuntu-22.04'
40
+
build_type: Release
41
+
compiler: {c: clang, cxx: clang++}
42
+
shared_library: 'OFF'
43
+
level_zero_provider: 'ON'
44
+
cuda_provider: 'ON'
45
+
install_tbb: 'ON'
46
+
disable_hwloc: 'OFF'
47
+
link_hwloc_statically: 'OFF'
48
+
- os: 'ubuntu-22.04'
49
+
build_type: Release
50
+
compiler: {c: gcc, cxx: g++}
51
+
shared_library: 'ON'
52
+
level_zero_provider: 'ON'
53
+
cuda_provider: 'ON'
54
+
install_tbb: 'ON'
55
+
disable_hwloc: 'OFF'
56
+
link_hwloc_statically: 'OFF'
57
+
- os: 'ubuntu-24.04'
58
+
build_type: Debug
59
+
compiler: {c: gcc, cxx: g++}
60
+
shared_library: 'ON'
61
+
level_zero_provider: 'ON'
62
+
cuda_provider: 'ON'
63
+
install_tbb: 'ON'
64
+
disable_hwloc: 'OFF'
65
+
link_hwloc_statically: 'OFF'
66
+
# test level_zero_provider='OFF' and cuda_provider='OFF'
67
+
- os: 'ubuntu-22.04'
68
+
build_type: Release
69
+
compiler: {c: gcc, cxx: g++}
70
+
shared_library: 'OFF'
71
+
level_zero_provider: 'OFF'
72
+
cuda_provider: 'OFF'
73
+
install_tbb: 'ON'
74
+
disable_hwloc: 'OFF'
75
+
link_hwloc_statically: 'OFF'
76
+
# test icx compiler
77
+
- os: 'ubuntu-22.04'
78
+
build_type: Release
79
+
compiler: {c: icx, cxx: icpx}
80
+
shared_library: 'ON'
81
+
level_zero_provider: 'ON'
82
+
cuda_provider: 'ON'
83
+
install_tbb: 'ON'
84
+
disable_hwloc: 'OFF'
85
+
link_hwloc_statically: 'OFF'
86
+
# test without installing TBB
87
+
- os: 'ubuntu-22.04'
88
+
build_type: Release
89
+
compiler: {c: gcc, cxx: g++}
90
+
shared_library: 'ON'
91
+
level_zero_provider: 'ON'
92
+
cuda_provider: 'ON'
93
+
install_tbb: 'OFF'
94
+
disable_hwloc: 'OFF'
95
+
link_hwloc_statically: 'OFF'
96
+
- os: 'ubuntu-22.04'
97
+
build_type: Debug
98
+
compiler: {c: gcc, cxx: g++}
99
+
shared_library: 'ON'
100
+
level_zero_provider: 'ON'
101
+
cuda_provider: 'ON'
102
+
install_tbb: 'ON'
103
+
disable_hwloc: 'ON'
104
+
link_hwloc_statically: 'OFF'
105
+
- os: 'ubuntu-22.04'
106
+
build_type: Release
107
+
compiler: {c: gcc, cxx: g++}
108
+
shared_library: 'ON'
109
+
level_zero_provider: 'ON'
110
+
cuda_provider: 'ON'
111
+
install_tbb: 'ON'
112
+
disable_hwloc: 'OFF'
113
+
link_hwloc_statically: 'ON'
30
114
runs-on: ${{matrix.os}}
31
115
32
116
steps:
@@ -53,7 +137,7 @@ jobs:
53
137
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
0 commit comments