Moandor
e865281ddc
[github-action] fix coverage uploading for expects ( #5423 )
...
This commit changes the coverage data uploading for expects job so
that it only uploads data for one build at a time, to make coverage
more stable.
2020-08-19 08:47:29 -07:00
Simon Lin
c7cda1feb2
[github-actions] fix otns test failure ( #5403 )
2020-08-15 10:05:52 -07:00
Simon Lin
9dbebfc2fe
[github-actions] run packet verification for multiple times ( #5380 )
...
This commit makes packet verification to run for multiple times.
Since now we are developing many packet verification scripts, this
commit can help us reduce the chance of merging a verification code
that could fail by chance, which is very often for packet verification
code.
2020-08-12 22:15:28 -07:00
Li Cao
7dc3b2696a
[github-action] change the way to upload coverage report ( #5375 )
2020-08-11 21:30:47 -07:00
Simon Lin
ecd9436427
[scripts] add packet verification framework ( #4428 )
...
This commit introduces the packet verification (PV) framework for
certification tests.
- Add packet verification framework code
- Implement packet verification for cert 5.1.7 as a minimal
example. There will be more 1.1/1.2 tests with PV submitted in the
future.
- Download pre-built thread-wireshark binaries from
openthread/wireshark/releases for packet dissecting (used by
pyshark)
- Added a Github Action job for Packet Verification
2020-08-11 09:26:28 -07:00
Yakun Xu
114a0e7dc7
[posix] add UART flush and clean up ( #5312 )
...
This commit mainly implements the otPlatUartFlush().
- fix code because MSG_NOSIGNAL is not a macro.
- set SO_NOSIGPIPE once.
2020-08-01 09:41:58 -07:00
kangping
f0f924a747
[tests] fix external commissioner building options ( #5321 )
...
This commit aligns the external commissioner building options with OT
commissioner.
2020-08-01 09:38:27 -07:00
Jonathan Hui
7a612437ed
[github-actions] add building Docker images ( #5273 )
...
The openthread/environment and openthread/codelab_sim images are
currently built and updated via the Docker Hub service. Docker Hub
only allows a single runner at a time and is generally slower than
GitHub Actions.
This commit moves the Docker image build and update to GitHub Actions.
2020-07-23 10:49:55 -07:00
Jonathan Hui
85de837187
[github-actions] fix external-commissioner test ( #5279 )
...
- Install avahi-daemon and avahi-utils packages.
- Remove ot-br-posix dependencies.
2020-07-22 14:09:03 -07:00
Yakun Xu
4886b53b5c
[github-action] remove unused apt source lists ( #5237 )
...
These sources break easily, removing them so that apt-get update
doesn't fail.
2020-07-15 10:48:23 -07:00
Yakun Xu
b9a7903f19
[github-action] check with cmake version 3.10 ( #5229 )
2020-07-13 08:22:00 -07:00
Moandor
abeb02fc52
[test] fix external commissioner coverage data uploading ( #5207 )
...
This makes the external commissioner test to copy coverage files from
otbr to $PWD/build so they are uploaded correctly.
2020-07-08 00:04:53 -07:00
Moandor
f490ea658c
[test] add external commissioner tests ( #5187 )
...
This adds tests of ot-commissioner as part of GitHub Action workflows.
2020-07-06 20:34:21 -07:00
Moandor
fbacefe85c
[test] add expect tests for coap and coaps ( #5172 )
...
Also adds command coaps set to make it consistent with coap set.
2020-07-02 15:40:18 -07:00
Moandor
68e66bc633
[continuous-integration] add SPI build check ( #5165 )
...
Enables NCP SPI in build checks. Also fixes some build errors in SPI code.
2020-06-30 22:52:31 -07:00
Simon Lin
baa6523766
[otns] fix simulation to use strong otPlatOtnsStatus definition ( #5171 )
...
- fix otPlatOtnsStatus(weak) is not used
- use the current openthread rather than openthread master
2020-06-30 22:49:50 -07:00
Moandor
1cd9bb3074
[test] add expect tests for dataset and networktime ( #5145 )
2020-06-24 12:48:03 -07:00
Moandor
ede592918c
[test] add expect tests for sntp, mac, netif, and more ( #5140 )
...
Also does some minor enhancements.
2020-06-22 10:11:55 -07:00
Simon Lin
f5d7f50f44
[tests] ignore otError in spinel tests ( #5093 )
2020-06-17 10:48:01 -07:00
Simon Lin
b50f33365c
[github-actions] fix version workflow's name ( #5103 )
2020-06-16 08:55:10 -07:00
Yakun Xu
b28d7c4a45
[test] split out 1.2 and posix from simulation ( #5063 )
...
This commit splits out 1.2 and posix workflows from simulation workflow
so that when an unstable job failed, just a few jobs need rerun.
2020-06-08 10:20:46 -07:00
Yakun Xu
82053cc9db
[tests] add dns client tests ( #5049 )
2020-06-04 13:24:43 -07:00
Yakun Xu
aa19e77ac7
[continuous-integration] add version number check ( #5034 )
2020-06-02 13:37:42 -07:00
Yakun Xu
ba0b896b20
[continuous-integration] use apt-get instead of apt ( #5032 )
...
This commit changes apt to apt-get for the WARNING in build logs:
WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.
2020-06-01 17:03:33 -07:00
Yakun Xu
8b904a30e6
[github-actions] split toranj into a separate workflow ( #5016 )
...
This commit split toranj tests into a separate workflow so that we can
re-run it only when it fails.
2020-05-28 10:52:17 -07:00
Li Cao
cdd62370d6
[continuous-integration] add github action to run 1_2 with clang ( #4993 )
2020-05-26 10:18:12 -07:00
Simon Lin
bdfafb437e
[github-actions] add test to verify OTNS works ( #4847 )
2020-05-20 20:34:19 -07:00
Moandor
a142b4234c
[test] add expect tests for extaddr, ping, promiscuous ( #4954 )
2020-05-20 19:37:50 -07:00
Jonathan Hui
916023b6e7
[pretty] add support for shell ( #4966 )
2020-05-19 13:04:42 -07:00
Yakun Xu
7d1934202f
[cmake] add ncurses dependency ( #4971 )
...
This is required on OpenWRT.
2020-05-18 09:36:55 -07:00
Jonathan Hui
132ba9d3fb
[continuous-integration] add build checks for jn5189 and k32w061 ( #4968 )
2020-05-18 09:36:00 -07:00
Li Cao
cd9558ca91
[mac-frame] add util functions to generate ack ( #4884 )
...
This commit adds mac frame util functions to generate acks (both Imm
and Enh acks) from a received frame. These funtions are utils APIs for
platforms which don't provide ack generation.
This commit also introduces compile options for CSL to control the CSL
IE related part.
2020-05-12 22:20:03 -07:00
Moandor
b4a5df49e6
[continuous-integration] enable most features on build check ( #4946 )
2020-05-11 16:45:38 -07:00
Moandor
92b290e018
[continuous-integration] avoid coverage data loss ( #4937 )
...
The code coverage data generated by ./script/test build expect will be
erased by VIRTUAL_TIME=0 NODE_MODE=rcp ./script/test clean build
expect's clean step, causing coverage less than actual value. This
adds an upload step after the first run to avoid the data loss.
2020-05-08 17:03:11 -07:00
Abtin Keshavarzian
b07a33acec
[continuous-integration] add macOS build config with clang compiler ( #4931 )
2020-05-06 22:05:25 -07:00
Yakun Xu
7b0cb98445
[posix] add argument to set max power table ( #4878 )
...
This commit adds a max power table for POSIX platform, which can
customize the max allowed transmit power of each channel with the
command line argument --max-power-table.
2020-04-30 14:23:16 -07:00
kangping
c4b098f0d3
[instance] fix multiple instance compilation ( #4915 )
2020-04-30 12:27:42 -07:00
Moandor
8d6610f3d5
[continuous-integration] add POSIX SPI build ( #4913 )
...
This adds a CI build for POSIX platform with SPI enabled.
Also fixed a build error in `spi_interface.cpp`.
2020-04-30 10:42:44 -07:00
Yakun Xu
81fb1210c4
[continuous-integration] recover verbose check ( #4911 )
...
The error logs of `check` will only be printed when VERBOSE=1.
2020-04-29 11:03:21 -07:00
Jonathan Hui
ebb52da68e
[continuous-integration] add macos posix build check ( #4906 )
2020-04-28 22:52:20 -07:00
Moandor-y
c76d325b21
[continuous-integration] add clang 32 bit build ( #4896 )
2020-04-28 16:45:47 -07:00
Yakun Xu
32f8274395
[cmake] enhancements for supporting cmake in ot-br-posix ( #4876 )
2020-04-24 16:21:06 -07:00
Jonathan Hui
c0075d42c3
[pretty] fix yapf version to 0.29.0 ( #4880 )
...
v0.30.0 (released on 2020-04-23) introduces formatting changes that
are not compatible with v0.29.0.
2020-04-23 17:14:58 -07:00
Yakun Xu
c034fd0c0c
[size-report] support local check ( #4866 )
2020-04-21 15:37:46 -07:00
Yakun Xu
1089aa9ff4
[continuous-integration] move android check to GitHub Actions ( #4829 )
2020-04-17 16:46:44 -07:00
Simon Lin
39de36a9c9
[github-actions] use matrix for gcc builds ( #4851 )
2020-04-17 08:27:36 -07:00
Yakun Xu
fd6cde5981
[size-report] support github actions ( #4825 )
2020-04-16 23:22:01 -07:00
Yakun Xu
0cd682f048
[logging] dynamic level enhancements ( #4809 )
...
* Add cli command to get/set log level
* Add cmake option to enable dynamic log level
* Aggregate logfilename as sub-command of `log` command
* Add log level test
* Update readme
2020-04-11 22:11:38 -07:00
Jonathan Hui
c6a258e3a5
[github-actions] include fuzz checks ( #4792 )
2020-04-04 14:39:59 -07:00
Jonathan Hui
daa626b504
[github-actions] add apt update to each build ( #4772 )
2020-03-31 23:09:08 -07:00