diff --git a/Jenkinsfile b/Jenkinsfile index c6f216f91258be..46d6c8c3ae3d6d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -206,6 +206,33 @@ def buildOpenThreadSwitch() } } +def buildOpenThreadWindow() +{ + actionWithRetry { + node(buildFarmLabel) + { + def workspaceTmpDir = createWorkspaceOverlay(advanceStageMarker.getBuildStagesList(), + buildOverlayDir) + def dirPath = workspaceTmpDir + createWorkspaceOverlay.overlayMatterPath + def saveDir = 'matter/' + dir(dirPath) { + withDockerContainer(image: "connectedhomeip/chip-build-efr32:0.5.64", args: "-u root") + { + // CSA Examples build + withEnv(['PW_ENVIRONMENT_ROOT='+dirPath]) + { + sh 'python3 ./silabs_ci_scripts/build_openthread_csa_examples.py window-app' + } + } + } + deactivateWorkspaceOverlay(advanceStageMarker.getBuildStagesList(), + workspaceTmpDir, + 'matter/', + '-name "*.s37" -o -name "*.map"') + } + } +} + def buildSilabsCustomOpenThreadExamples() { actionWithRetry { @@ -350,8 +377,9 @@ def pipeline() // Docker container solution parallelNodes['Build OpenThread Lighting'] = { this.buildOpenThreadLight() } - parallelNodes['Build OpenThread Lock'] = { this.buildOpenThreadLock() } - parallelNodes['Build OpenThread Light switch'] = { this.buildOpenThreadSwitch() } + parallelNodes['Build OpenThread Lock'] = { this.buildOpenThreadLock() } + parallelNodes['Build OpenThread Light switch'] = { this.buildOpenThreadSwitch() } + parallelNodes['Build OpenThread Window'] = { this.buildOpenThreadWindow() } parallelNodes['Build Wifi Examples'] = { this.buildWiFiExamples() } diff --git a/silabs_ci_scripts/build_openthread_csa_examples.py b/silabs_ci_scripts/build_openthread_csa_examples.py index 325f0b8d8f9ff9..ce00783d13e183 100644 --- a/silabs_ci_scripts/build_openthread_csa_examples.py +++ b/silabs_ci_scripts/build_openthread_csa_examples.py @@ -10,7 +10,7 @@ # Remove path to the scripts APPS.pop(0) else: - APPS = {"lighting-app", "lock-app", "light-switch-app"} + APPS = {"lighting-app", "lock-app", "light-switch-app", "window-app"} #Defines BOARDS = {"BRD4161A", "BRD4186A"}