Skip to content

Commit 11a8f86

Browse files
authored
Moving CI tests from .ci to sample.json (oneapi-src#5)
* Moving CI tests from .ci to sample.json * Added missing comma
1 parent 1973bdf commit 11a8f86

File tree

3 files changed

+123
-100
lines changed

3 files changed

+123
-100
lines changed

.ci/samples_linux.json

Lines changed: 0 additions & 98 deletions
This file was deleted.

DirectProgramming/DPC++/DenseLinearAlgebra/simple-add/sample.json

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,65 @@
66
"languages": [{"cpp": {"properties": {"projectOptions": [{"projectType": "makefile"}]}}}],
77
"targetDevice": ["CPU", "GPU", "FPGA"],
88
"os": ["linux", "windows"],
9-
"builder": ["ide", "make"]
9+
"builder": ["ide", "make"],
10+
"ciTests": {
11+
"linux": [
12+
{
13+
"id": "cpu_usm",
14+
"steps": [
15+
"make all",
16+
"make run",
17+
"make clean"
18+
]
19+
},
20+
{
21+
"id": "cpu_buffers",
22+
"steps": [
23+
"make build_buffers",
24+
"make run_buffers",
25+
"make clean"
26+
]
27+
},
28+
{
29+
"id": "fpga_emu_buffers",
30+
"steps": [
31+
"make fpga_emu -f Makefile.fpga",
32+
"make run_emu -f Makefile.fpga",
33+
"make clean -f Makefile.fpga"
34+
]
35+
},
36+
{
37+
"id": "fpga_report_buffers",
38+
"steps": [
39+
"make report -f Makefile.fpga"
40+
]
41+
}
42+
],
43+
"windows": [
44+
{
45+
"id": "cpu_usm",
46+
"steps": [
47+
"nmake -f Makefile.win",
48+
"nmake -f Makefile.win run",
49+
"nmake -f Makefile.win clean"
50+
]
51+
},
52+
{
53+
"id": "cpu_buffers",
54+
"steps": [
55+
"nmake -f Makefile.win build_buffers",
56+
"nmake -f Makefile.win run_buffers",
57+
"nmake -f Makefile.win clean"
58+
]
59+
},
60+
{
61+
"id": "fpga_emu_buffers",
62+
"steps": [
63+
"nmake -f Makefile.win.fpga",
64+
"nmake -f Makefile.win.fpga run",
65+
"nmake -f Makefile.win.fpga clean"
66+
]
67+
}
68+
]
69+
}
1070
}

DirectProgramming/DPC++/DenseLinearAlgebra/vector-add/sample.json

Lines changed: 62 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,66 @@
66
"languages": [{"cpp": {"properties": {"projectOptions": [{"projectType": "makefile"}]}}}],
77
"targetDevice": ["CPU", "GPU", "FPGA"],
88
"os": ["linux", "windows"],
9-
"builder": ["ide", "make"]
9+
"builder": ["ide", "make"],
10+
"ciTests": {
11+
"linux": [
12+
{
13+
"id": "cpu_buffers",
14+
"steps": [
15+
"make all",
16+
"make run",
17+
"make clean"
18+
]
19+
},
20+
{
21+
"id": "cpu_usm",
22+
"steps": [
23+
"make build_usm",
24+
"make run_usm",
25+
"make clean"
26+
]
27+
},
28+
{
29+
"id": "fpga_emu_buffers",
30+
"steps": [
31+
"make fpga_emu -f Makefile.fpga",
32+
"make run_emu -f Makefile.fpga",
33+
"make clean -f Makefile.fpga"
34+
]
35+
},
36+
{
37+
"id": "fpga_report_buffers",
38+
"steps": [
39+
"make report -f Makefile.fpga",
40+
"make clean -f Makefile.fpga"
41+
]
42+
}
43+
],
44+
"windows": [
45+
{
46+
"id": "cpu_buffers",
47+
"steps": [
48+
"nmake -f Makefile.win",
49+
"nmake -f Makefile.win run",
50+
"nmake -f Makefile.win clean"
51+
]
52+
},
53+
{
54+
"id": "cpu_usm",
55+
"steps": [
56+
"nmake -f Makefile.win build_usm",
57+
"nmake -f Makefile.win run_usm",
58+
"nmake -f Makefile.win clean"
59+
]
60+
},
61+
{
62+
"id": "fpga_emu_buffers",
63+
"steps": [
64+
"nmake -f Makefile.win.fpga",
65+
"nmake -f Makefile.win.fpga run",
66+
"nmake -f Makefile.win.fpga clean"
67+
]
68+
}
69+
]
70+
}
1071
}

0 commit comments

Comments
 (0)