Skip to content

Commit 469f4aa

Browse files
committed
iotkit: update ciTests field in sample.json files
Signed-off-by: Mihai Tudor Panu <[email protected]>
1 parent d1300df commit 469f4aa

File tree

10 files changed

+168
-10
lines changed

10 files changed

+168
-10
lines changed
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
{
2+
"guid": "EEED3DAC-8D4E-4F4B-9C15-2B73CF0AC718",
23
"name": "Analog Input",
34
"categories": ["Toolkit/Intel® oneAPI IoT Toolkit/IoT Connection Tools"],
45
"description": "Demonstrate how to read an analog voltage value from an input pin using the Eclipse* MRAA library.",
56
"dependencies": ["pkg|mraa|https://mraa.io"],
67
"languages": [{"cpp":{}}],
7-
"os": ["linux"]
8+
"os": ["linux"],
9+
"ciTests": {
10+
"linux": [
11+
{ "id": "analog-in",
12+
"env": [],
13+
"steps": [
14+
"mkdir build",
15+
"cd build",
16+
"cmake ..",
17+
"make"
18+
]
19+
}
20+
]
21+
}
822
}
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
{
2+
"guid": "F8F830DE-3660-4478-B2FA-22EE492D7120",
23
"name": "Azure IoTHub Telemetry",
34
"categories": ["Toolkit/Intel® oneAPI IoT Toolkit/IoT Connection Tools"],
45
"description": "Demonstrate how to send messages from a single device to Microsoft Azure IoT Hub via chosen protocol.",
56
"dependencies": ["azure-iot-sdk-c|https://github.com/Azure/azure-iot-sdk-c"],
67
"languages": [{"cpp":{}}],
7-
"os": ["linux"]
8+
"os": ["linux"],
9+
"ciTests": {
10+
"linux": [
11+
{ "id": "azure-iothub-telemetry",
12+
"env": [],
13+
"steps": [
14+
"mkdir build",
15+
"cd build",
16+
"cmake ..",
17+
"make"
18+
]
19+
}
20+
]
21+
}
822
}
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
{
2+
"guid": "8BBEBD41-DD09-4EFE-9156-694DC5D2DE6A",
23
"name": "Digital Input",
34
"categories": ["Toolkit/Intel® oneAPI IoT Toolkit/IoT Connection Tools"],
45
"description": "Demonstrate how to read a digital value from an input pin using the Eclipse* MRAA library.",
56
"dependencies": ["pkg|mraa|https://mraa.io"],
67
"languages": [{"cpp":{}}],
7-
"os": ["linux"]
8+
"os": ["linux"],
9+
"ciTests": {
10+
"linux": [
11+
{ "id": "digital-in",
12+
"env": [],
13+
"steps": [
14+
"mkdir build",
15+
"cd build",
16+
"cmake ..",
17+
"make"
18+
]
19+
}
20+
]
21+
}
822
}
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
{
2+
"guid": "A544224A-B5C0-462C-95F6-7C266A1DB2EB",
23
"name": "Digital Output",
34
"categories": ["Toolkit/Intel® oneAPI IoT Toolkit/IoT Connection Tools"],
45
"description": "Demonstrate how to write a digital value to an output pin using the Eclipse* MRAA library.",
56
"dependencies": ["pkg|mraa|https://mraa.io"],
67
"languages": [{"cpp":{}}],
7-
"os": ["linux"]
8+
"os": ["linux"],
9+
"ciTests": {
10+
"linux": [
11+
{ "id": "digital-out",
12+
"env": [],
13+
"steps": [
14+
"mkdir build",
15+
"cd build",
16+
"cmake ..",
17+
"make"
18+
]
19+
}
20+
]
21+
}
822
}
Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,34 @@
11
{
2+
"guid": "8EBFB820-A80C-4CC5-97DB-09B6161DDE1F",
23
"name": "Hello IoT World",
34
"categories": ["Toolkit/Intel® oneAPI IoT Toolkit/Intel® C++ Compiler"],
45
"description": "This is a basic sample that outputs the classic 'Hello World' message along with the compiler identification string.",
56
"toolchain": ["icc", "gcc"],
6-
"languages": [{"cpp":{}}]
7+
"languages": [{"cpp":{}}],
8+
"ciTests": {
9+
"linux": [
10+
{ "id": "hello-iot-world",
11+
"env": [],
12+
"steps": [
13+
"mkdir build",
14+
"cd build",
15+
"cmake ..",
16+
"make",
17+
"make run"
18+
]
19+
}
20+
],
21+
"windows": [
22+
{ "id": "hello-iot-world",
23+
"env": [],
24+
"steps": [
25+
"mkdir build",
26+
"cd build",
27+
"cmake -G \"NMake Makefiles\" ..",
28+
"nmake",
29+
"nmake run"
30+
]
31+
}
32+
]
33+
}
734
}
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
{
2+
"guid": "E2BDAFFF-FF3F-4C83-B31A-D79DB6F091D9",
23
"name": "Interrupt service routine (ISR)",
34
"categories": ["Toolkit/Intel® oneAPI IoT Toolkit/IoT Connection Tools"],
45
"description": "Demonstrates how to react on an Eclipse* MRAA digital pin event with an ISR (Interrupt Service Routine), which will run independently of the main program flow.",
56
"dependencies": ["pkg|mraa|https://mraa.io"],
67
"languages": [{"cpp":{}}],
7-
"os": ["linux"]
8+
"os": ["linux"],
9+
"ciTests": {
10+
"linux": [
11+
{ "id": "interrupt",
12+
"env": [],
13+
"steps": [
14+
"mkdir build",
15+
"cd build",
16+
"cmake ..",
17+
"make"
18+
]
19+
}
20+
]
21+
}
822
}
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
{
2+
"guid": "892964F4-89DC-4E48-8511-8FCF6AE1A8D6",
23
"name": "On-Board LED Blink",
34
"categories": ["Toolkit/Intel® oneAPI IoT Toolkit/IoT Connection Tools"],
45
"description": "Demonstrates how to blink the on board LED, by writing a digital value to an output pin using the Eclipse* MRAA library",
56
"dependencies": ["pkg|mraa|https://mraa.io"],
67
"languages": [{"cpp":{}}],
7-
"os": ["linux"]
8+
"os": ["linux"],
9+
"ciTests": {
10+
"linux": [
11+
{ "id": "onboard-blink",
12+
"env": [],
13+
"steps": [
14+
"mkdir build",
15+
"cd build",
16+
"cmake ..",
17+
"make"
18+
]
19+
}
20+
]
21+
}
822
}
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
{
2+
"guid": "A377C93A-6D81-4030-B2AD-BE85B6CE8450",
23
"name": "Pulse Width Modulation (PWM)",
34
"categories": ["Toolkit/Intel® oneAPI IoT Toolkit/IoT Connection Tools"],
45
"description": "Demonstrate how to use PWM with an output pin using the Eclipse* MRAA library. If the output is connected to a led, its brightness will vary depending on the duty cycle.",
56
"dependencies": ["pkg|mraa|https://mraa.io"],
67
"languages": [{"cpp":{}}],
7-
"os": ["linux"]
8+
"os": ["linux"],
9+
"ciTests": {
10+
"linux": [
11+
{ "id": "pwm",
12+
"env": [],
13+
"steps": [
14+
"mkdir build",
15+
"cd build",
16+
"cmake ..",
17+
"make"
18+
]
19+
}
20+
]
21+
}
822
}
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
{
2+
"guid": "F8E69741-0BE3-4CB7-BC17-2F63563D80C5",
23
"name": "UP Squared Built-in LEDs",
34
"categories": ["Toolkit/Intel® oneAPI IoT Toolkit/IoT Connection Tools"],
45
"description": "This sample shows how to use the LED class and APIs of the Eclipse* MRAA library. It is intended to run on the UP Squared board, and will utilize the 4 built-in color LEDs located under the Ethernet ports. No additional hardware is required.",
56
"dependencies": ["pkg|mraa|https://mraa.io"],
67
"languages": [{"cpp":{}}],
7-
"os": ["linux"]
8+
"os": ["linux"],
9+
"ciTests": {
10+
"linux": [
11+
{ "id": "up2-leds",
12+
"env": [],
13+
"steps": [
14+
"mkdir build",
15+
"cd build",
16+
"cmake ..",
17+
"make"
18+
]
19+
}
20+
]
21+
}
822
}
Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,26 @@
11
{
2+
"guid": "668A3FF9-12C3-4559-8AF4-54B6792122D3",
23
"name": "Intel System Debugger Tutorial (Overview)",
34
"categories": ["Toolkit/Intel® oneAPI IoT Toolkit/System Debugger"],
45
"description": "Demonstrate basic functionality of the Intel System Debugger.",
5-
"languages": [{"python":{},"cpp":{}}]
6+
"languages": [{"python":{},"cpp":{}}],
7+
"ciTests": {
8+
"linux": [
9+
{ "id": "system_debug_sample",
10+
"env": [],
11+
"steps": [
12+
"[[ -f README.md ]]"
13+
]
14+
}
15+
],
16+
"windows": [
17+
{ "id": "system_debug_sample",
18+
"env": [],
19+
"steps": [
20+
"if exist README.md ( exit /b 0 ) else ( exit /b 1 )"
21+
]
22+
}
23+
]
24+
}
625
}
726

0 commit comments

Comments
 (0)