Skip to content

Commit

Permalink
Pull request project-chip#14: Add Window App for OpenThread
Browse files Browse the repository at this point in the history
Merge in WMN_TOOLS/matter from add_window_app_ci to silabs

Squashed commit of the following:

commit a83db3f19665d40c80a325e07831b462440f133d
Author: jepenven-silabs <[email protected]>
Date:   Tue Jul 12 13:25:49 2022 -0400

    Add Window App for OpenThread
  • Loading branch information
jepenven-silabs authored and jmartinez-silabs committed Aug 30, 2022
1 parent a865870 commit c3188b4
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 3 deletions.
32 changes: 30 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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() }
Expand Down
2 changes: 1 addition & 1 deletion silabs_ci_scripts/build_openthread_csa_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down

0 comments on commit c3188b4

Please sign in to comment.