[continuous-integration] add build checks for jn5189 and k32w061 (#4968)

This commit is contained in:
Jonathan Hui
2020-05-18 09:36:00 -07:00
committed by GitHub
parent 436aba64c0
commit 132ba9d3fb
4 changed files with 37 additions and 0 deletions
+3
View File
@@ -125,6 +125,9 @@ jobs:
sudo apt --no-install-recommends install -y lib32z1 ninja-build
wget ${{ matrix.gcc_download_url }} -O gcc-arm.tar.bz2
tar xjf gcc-arm.tar.bz2
# required for jn5189 and k32w061
pip install pycryptodome
- name: Build
run: |
export PATH=/tmp/${{ matrix.gcc_extract_dir }}/bin:$PATH
@@ -72,6 +72,7 @@ LIB_FLAGS
-Wno-unused-function \
-Wno-unused-parameter \
-Wno-empty-body \
-fno-strict-aliasing \
$(NULL)
libopenthread_jn5189_sdk_a_CPPFLAGS = \
@@ -74,6 +74,7 @@ LIB_FLAGS
-Wno-unused-function \
-Wno-unused-parameter \
-Wno-empty-body \
-fno-strict-aliasing \
$(NULL)
libopenthread_k32w061_sdk_a_CPPFLAGS = \
+32
View File
@@ -85,6 +85,36 @@ build_cc2652()
make -f examples/Makefile-cc2652 "${options[@]}"
}
build_jn5189()
{
local options=(
"COMMISSIONER=1"
"DHCP6_CLIENT=1"
"DHCP6_SERVER=1"
"DNS_CLIENT=1"
"JOINER=1"
"SLAAC=1"
)
reset_source
make -f examples/Makefile-jn5189 "${options[@]}"
}
build_k32w061()
{
local options=(
"COMMISSIONER=1"
"DHCP6_CLIENT=1"
"DHCP6_SERVER=1"
"DNS_CLIENT=1"
"JOINER=1"
"SLAAC=1"
)
reset_source
make -f examples/Makefile-k32w061 "${options[@]}"
}
build_kw41z()
{
local options=(
@@ -258,6 +288,8 @@ main()
build_cc2538
build_cc2650
build_cc2652
build_jn5189
build_k32w061
build_kw41z
build_nrf52811
build_nrf52833