Skip to content

Commit

Permalink
sync to master
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdecenzo committed Jul 26, 2022
2 parents 8776a7e + a7ad1d8 commit 2282310
Show file tree
Hide file tree
Showing 1,269 changed files with 387,756 additions and 63,847 deletions.
19 changes: 15 additions & 4 deletions .github/.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ APIs
apk
AppConfig
AppImpl
AppleTV
appliable
ApplianceControl
applianceeventsandalert
Expand Down Expand Up @@ -278,8 +279,8 @@ connstring
conntype
const
ContentApp
ContentAppPlatform
ContentApp's
ContentAppPlatform
ContentLaunch
ContentLauncher
continuousHinting
Expand Down Expand Up @@ -543,6 +544,7 @@ GDB
gdbserver
GeneralCommissioning
GeneralDiagnostics
generalised
GenericConfigurationManagerImpl
GenericConnectivityManagerImpl
GenericImpl
Expand Down Expand Up @@ -601,6 +603,8 @@ HKDF
HMAC
hoc
homebrew
HomePod
HomePods
hostapd
hostname
href
Expand All @@ -614,6 +618,7 @@ IasWd
iaszone
ibb
ICA
iCloud
ICMP
IDF
IDL
Expand Down Expand Up @@ -659,6 +664,7 @@ InvokeCommandRequests
InvokeCommandResponse
IoT
ipaddr
iPadOS
ipadr
ipp
iptables
Expand Down Expand Up @@ -761,6 +767,7 @@ LTE
LTS
LwIP
LwIP's
LZMA
macaddr
machineType
MacOS
Expand Down Expand Up @@ -884,6 +891,7 @@ NodeId
nongnu
nordicsemi
NotAvailable
NotifyUpdateApplied
notValue
npm
nRF
Expand Down Expand Up @@ -944,6 +952,7 @@ OTARequestorDriver
OTARequestorInterface
OTARequestorSerialPort
OTARequestorStorage
otasoftwareupdateapp
OtaSoftwareUpdateProvider
otasoftwareupdaterequestor
otatesting
Expand Down Expand Up @@ -1087,8 +1096,8 @@ REPL
repo
req
Requestor
RequestorCanConsent
Requestor's
RequestorCanConsent
Requestors
responder
RestrictedEvent
Expand Down Expand Up @@ -1134,8 +1143,8 @@ SDB
SDC
SDHC
SDK
sdkconfig
SDK's
sdkconfig
SDKs
SDKTARGETSYSROOT
sdl
Expand Down Expand Up @@ -1321,6 +1330,7 @@ ttymxc
ttyUSB
TurbidityConcentrationMeasurement
TvCasting
tvOS
TXD
txt
uargument
Expand Down Expand Up @@ -1367,8 +1377,8 @@ util
utils
UUID
ux
VCP
validator
VCP
Vectorcall
VendorID
VendorName
Expand All @@ -1392,6 +1402,7 @@ WaitNewInputEvent
WakeOnLan
WantedBy
watchdogTimeout
watchOS
webpage
wg
wget
Expand Down
61 changes: 57 additions & 4 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,147 +23,200 @@ repo:
############################################################
examples:
- examples/*
- examples/**/*

############################################################
# Documentation
############################################################
documentation:
- docs/*
- docs/**/*
- "*.md"

############################################################
# Tools + Development Items
############################################################
scripts:
- scripts/*
- scripts/**/*

integrations:
- integrations/*
- integrations/**/*

vscode:
- .vscode
- .devcontainer
- .vscode/*
- .vscode/**/*
- .devcontainer/*
- .devcontainer/**/*

gn:
- build/*
- build/**/*
- build_overrides/*
- build_overrides/**/*
- .gn
- "*.gn"
- "*.gni"

github:
- .github
- .github/*
- .github/**/*

workflows:
- .github/workflows/*
- .github/workflows/**/*

tools:
- src/tools/*
- src/tools/**/*
- tools/*
- tools/**/*
- examples/chip-tool/*
- examples/chip-tool/**/*

############################################################
# Tests
############################################################
tests:
- src/app/tests/*
- src/app/tests/suites/*
- src/app/tests/suites/certification/*
- src/app/tests/**/*

test driver:
- src/test_driver/*
- src/test_driver/**/*

############################################################
# Source Code
############################################################
qr code:
- src/qrcode/*
- src/qrcode/**/*
- src/qrcodetool/*
- src/qrcodetool/**/*

lwip:
- src/lwip/*
- src/lwip/**/*

inet:
- src/inet/*
- src/inet/**/*

config:
- config/*
- config/**/*

lib:
- src/lib/*
- src/lib/**/*

core:
- src/lib/core/*
- src/lib/core/**/*

protocols:
- src/lib/protocols/*
- src/lib/protocols/**/*

shell:
- src/lib/shell/*
- src/lib/shell/**/*

support:
- src/lib/support/*
- src/lib/support/**/*

crypto:
- src/crypto/*
- src/crypto/**/*

controller:
- src/controller/*
- src/controller/**/*

ble:
- src/ble/*
- src/ble/**/*

android:
- src/android/*
- src/android/**/*

app:
- src/app/*
- src/app/**/*

transport:
- src/transport/*
- src/transport/**/*

system:
- src/system/*
- src/system/**/*

setup payload:
- src/setup_payload/*
- src/setup_payload/**/*

############################################################
# Platforms
############################################################
platform:
- src/platform/*
- src/platform/**/*
- config/tizen/chip-gn/platform/*
- config/tizen/chip-gn/platform/**/*
- examples/platform/*
- examples/platform/**/*
- scripts/tools/memory/platform/*
- scripts/tools/memory/platform/**/*
- src/include/platform/*
- src/include/platform/**/*
- src/lib/dnssd/platform/*
- src/lib/dnssd/platform/**/*

darwin:
- src/platform/Darwin/*
- src/platform/Darwin/**/*
- src/darwin/*
- src/darwin/**/*
- examples/darwin-framework-tool/*
- examples/darwin-framework-tool/**/*

efr32:
- src/platform/EFR32/*
- src/platform/EFR32/**/*

esp32:
- src/platform/ESP32/*
- src/platform/ESP32/**/*

freeRTOS:
- src/platform/FreeRTOS/*
- src/platform/FreeRTOS/**/*

k32w:
- src/platform/K32W/*
- src/platform/K32W/**/*

linux:
- src/platform/Linux/*
- src/platform/Linux/**/*

nrf connect:
- src/platform/nrfconnect/*
- src/platform/nrfconnect/**/*

openthread:
- src/platform/openthread/*
- src/platform/openthread/**/*

zephyr:
- src/platform/Zephyr/*
- src/platform/Zephyr/**/*

telink:
- src/platform/telink/*
- src/platform/telink/**/*
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ jobs:
# use that on Darwin.
# * the "host clang" build, which uses the pigweed
# clang.
"default") GN_ARGS='target_os="all" is_asan=true enable_host_clang_build=false enable_host_gcc_mbedtls_build=false';;
"default") GN_ARGS='target_os="all" is_asan=true enable_host_clang_build=false enable_host_clang_boringssl_crypto_tests=false';;
"python_lib") GN_ARGS='enable_rtti=true enable_pylib=true';;
esac
BUILD_TYPE=$BUILD_TYPE scripts/build/gn_gen.sh --args="$GN_ARGS" --export-compile-commands
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/cirque.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,11 @@ jobs:
chip_build_tests=false \
chip_enable_wifi=false \
chip_im_force_fabric_quota_check=true \
enable_default_builds=false \
enable_host_gcc_build=true \
enable_host_gcc_mbedtls_build=false \
enable_host_clang_build=false \
enable_fake_tests=false
enable_standalone_chip_tool_build=true \
enable_linux_all_clusters_app_build=true \
enable_linux_lighting_app_build=true
- name: Run Tests
timeout-minutes: 25
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/darwin-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
./scripts/run_in_build_env.sh \
"./scripts/tests/run_test_suite.py \
--chip-tool ./out/darwin-x64-darwin-framework-tool-${BUILD_VARIANT}/darwin-framework-tool \
--target-skip-glob '{TestGroupMessaging}' \
--target-skip-glob '{TestGroupMessaging,TestAccessControlConstraints}' \
run \
--iterations 1 \
--test-timeout-seconds 120 \
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,9 @@ jobs:
# enable it for various reasons. Keep whatever Xcode settings
# for OTHER_CFLAGS exist by using ${inherited}.
#
# Disable -Wmacro-redefined because CHIP_DEVICE_CONFIG_ENABLE_MDNS
# seems to be unconditionally defined in CHIPDeviceBuildConfig.h,
# which is apparently being included after CHIPDeviceConfig.h.
run: xcodebuild -target "Matter" -sdk macosx OTHER_CFLAGS='${inherited} -Werror -Wno-macro-redefined'
# Enable -Wconversion by hand as well, because it seems to not be
# enabled by default in the Xcode config.
run: xcodebuild -target "Matter" -sdk macosx OTHER_CFLAGS='${inherited} -Werror -Wconversion'
working-directory: src/darwin/Framework
- name: Clean Build
run: xcodebuild clean
Expand All @@ -111,7 +110,7 @@ jobs:
run: |
mkdir -p /tmp/darwin/framework-tests
../../../out/debug/chip-all-clusters-app --interface-id -1 > >(tee /tmp/darwin/framework-tests/all-cluster-app.log) 2> >(tee /tmp/darwin/framework-tests/all-cluster-app-err.log >&2) &
xcodebuild test -target "Matter" -scheme "Matter Framework Tests" -sdk macosx OTHER_CFLAGS='${inherited} -Werror -Wno-incomplete-umbrella' > >(tee /tmp/darwin/framework-tests/darwin-tests.log) 2> >(tee /tmp/darwin/framework-tests/darwin-tests-err.log >&2)
xcodebuild test -target "Matter" -scheme "Matter Framework Tests" -sdk macosx OTHER_CFLAGS='${inherited} -Werror -Wconversion -Wno-incomplete-umbrella' > >(tee /tmp/darwin/framework-tests/darwin-tests.log) 2> >(tee /tmp/darwin/framework-tests/darwin-tests-err.log >&2)
working-directory: src/darwin/Framework
- name: Uploading log files
uses: actions/upload-artifact@v2
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/docker_img.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,3 @@ jobs:
run: |
cd integrations/docker/images/chip-build${{ matrix.img }}
./build.sh --latest
- name: Scan for vulnerabilities
uses: crazy-max/docker-scan-action@master
with:
# NOTE: This task validates the images built previously with latest tag
image: connectedhomeip/chip-build${{ matrix.img }}:latest
annotations: true
Loading

0 comments on commit 2282310

Please sign in to comment.