-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix xcodebuild to actually work on Darwin even without ZAP installed. (…
- Loading branch information
1 parent
404a9f5
commit 2129954
Showing
17 changed files
with
635 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,12 +31,6 @@ jobs: | |
if: github.actor != 'restyled-io[bot]' | ||
runs-on: macos-latest | ||
|
||
env: | ||
# NOTE: Generally kept in sync within the repo using | ||
# scripts/tools/zap/version_update.py | ||
ZAP_VERSION: v2023.01.18-nightly | ||
ZAP_INSTALL_PATH: /usr/local/zap/zap-v2023.01.18-nightly | ||
|
||
steps: | ||
- uses: Wandalen/[email protected] | ||
name: Checkout | ||
|
@@ -68,6 +62,12 @@ jobs: | |
unzip zap-mac.zip zap-cli | ||
rm zap-mac.zip | ||
./zap-cli --version | ||
env: | ||
# NOTE: Generally kept in sync within the repo using | ||
# scripts/tools/zap/version_update.py | ||
# This is scoped to only the steps that don't use xcodebuild. | ||
ZAP_VERSION: v2023.01.18-nightly | ||
ZAP_INSTALL_PATH: /usr/local/zap/zap-v2023.01.18-nightly | ||
- name: Bootstrap | ||
timeout-minutes: 25 | ||
run: scripts/build/gn_bootstrap.sh | ||
|
@@ -122,14 +122,32 @@ jobs: | |
timeout-minutes: 15 | ||
run: | | ||
scripts/examples/gn_build_example.sh examples/all-clusters-app/linux out/debug chip_config_network_layer_ble=false | ||
env: | ||
# NOTE: Generally kept in sync within the repo using | ||
# scripts/tools/zap/version_update.py | ||
# This is scoped to only the steps that don't use xcodebuild. | ||
ZAP_VERSION: v2023.01.18-nightly | ||
ZAP_INSTALL_PATH: /usr/local/zap/zap-v2023.01.18-nightly | ||
- name: Build example OTA Provider | ||
timeout-minutes: 10 | ||
run: | | ||
scripts/examples/gn_build_example.sh examples/ota-provider-app/linux out/debug chip_config_network_layer_ble=false | ||
env: | ||
# NOTE: Generally kept in sync within the repo using | ||
# scripts/tools/zap/version_update.py | ||
# This is scoped to only the steps that don't use xcodebuild. | ||
ZAP_VERSION: v2023.01.18-nightly | ||
ZAP_INSTALL_PATH: /usr/local/zap/zap-v2023.01.18-nightly | ||
- name: Build example OTA Requestor | ||
timeout-minutes: 10 | ||
run: | | ||
scripts/examples/gn_build_example.sh examples/ota-requestor-app/linux out/debug chip_config_network_layer_ble=false | ||
env: | ||
# NOTE: Generally kept in sync within the repo using | ||
# scripts/tools/zap/version_update.py | ||
# This is scoped to only the steps that don't use xcodebuild. | ||
ZAP_VERSION: v2023.01.18-nightly | ||
ZAP_INSTALL_PATH: /usr/local/zap/zap-v2023.01.18-nightly | ||
- name: Delete Defaults | ||
run: defaults delete com.apple.dt.xctest.tool | ||
continue-on-error: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...ontroller/data_model/controller-clusters/codegen/cpp-app/app/PluginApplicationCallbacks.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#pragma once | ||
|
||
#define MATTER_PLUGINS_INIT \ | ||
(void)0; /* No server side clusters */ | ||
|
Oops, something went wrong.