From 97618589aa5fb92ebf7016a855a75ee52d41d944 Mon Sep 17 00:00:00 2001 From: Pavan Madehalli Ranganath Date: Thu, 6 Jan 2022 12:22:35 -0800 Subject: [PATCH 1/2] add ci json --- .ci/build.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .ci/build.json diff --git a/.ci/build.json b/.ci/build.json new file mode 100644 index 00000000000..c759ebdb193 --- /dev/null +++ b/.ci/build.json @@ -0,0 +1,15 @@ +{ + "requires": [{ "name": "linux" }, { "name": "arm_gcc", "version": "10" }], + "jobs": [ + { + "build": { + "requires": ["iot-thing"], + "cmd": [ + "echo 'command 1'", + "echo \"{'verdict': 'Pass'}\" > result.json" + ], + "check_output": ["result.json"] + } + } + ] +} From f411f0257bffb3bd117f89dcbc681d4833a02363 Mon Sep 17 00:00:00 2001 From: Pavan Madehalli Ranganath Date: Tue, 25 Jan 2022 21:47:30 -0800 Subject: [PATCH 2/2] add director and actor --- .ci/director.json | 3 +++ .../Demo/FreeRTOS_Plus_TCP_Echo_Posix}/build.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .ci/director.json rename {.ci => FreeRTOS-Plus/Demo/FreeRTOS_Plus_TCP_Echo_Posix}/build.json (81%) diff --git a/.ci/director.json b/.ci/director.json new file mode 100644 index 00000000000..fbcb283b5e4 --- /dev/null +++ b/.ci/director.json @@ -0,0 +1,3 @@ +{ + "actors": ["FreeRTOS-Plus/Demo/FreeRTOS_Plus_TCP_Echo_Posix/build.json"] +} diff --git a/.ci/build.json b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_TCP_Echo_Posix/build.json similarity index 81% rename from .ci/build.json rename to FreeRTOS-Plus/Demo/FreeRTOS_Plus_TCP_Echo_Posix/build.json index c759ebdb193..9cf5a1ccd3e 100644 --- a/.ci/build.json +++ b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_TCP_Echo_Posix/build.json @@ -5,7 +5,7 @@ "build": { "requires": ["iot-thing"], "cmd": [ - "echo 'command 1'", + "make -j -C FreeRTOS-Plus/Demo/FreeRTOS_Plus_TCP_Echo_Posix", "echo \"{'verdict': 'Pass'}\" > result.json" ], "check_output": ["result.json"]