Lines Matching +full:runs +full:- +full:on
23 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31 on:
33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
48 expects-linux:
49 runs-on: ubuntu-22.04
51 CFLAGS: -DCLI_COAP_SECURE_USE_COAP_DEFAULT_HANDLER=1 -DOPENTHREAD_CONFIG_MLE_MAX_CHILDREN=15
52 CXXFLAGS: -DCLI_COAP_SECURE_USE_COAP_DEFAULT_HANDLER=1 -DOPENTHREAD_CONFIG_MLE_MAX_CHILDREN=15
54 - name: Harden Runner
55 uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
57 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
59 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
60 - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
62 python-version: '3.12'
64 - name: Bootstrap
66 sudo apt-get --no-install-recommends install -y expect ninja-build lcov socat
68 - name: Run RCP Mode
70 ulimit -c unlimited
72 …OT_OPTIONS='-DOT_READLINE=OFF -DOT_FULL_LOGS=ON -DOT_LOG_OUTPUT=PLATFORM_DEFINED' VIRTUAL_TIME=0 O…
73 - name: Run ot-fct
75 OT_CMAKE_NINJA_TARGET="ot-fct" script/cmake-build posix
76 tests/scripts/expect/ot-fct.exp
77 - name: Check Crash
80 CRASHED=$(./script/test check_crash | tail -1)
81 [[ $CRASHED -eq "1" ]] && echo "Crashed!" || echo "Not crashed."
83 - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
86 name: core-expect-rcp
88 ./ot-core-dump/*
89 - name: Generate Coverage
92 - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
94 name: cov-expects-linux-1
96 retention-days: 1
97 - name: Run TUN Mode
99 sudo apt-get update
101 sudo apt-get install --no-install-recommends -y bind9-host ntp socat
103 sudo socat 'UDP6-LISTEN:53,fork,reuseaddr,bind=[::1]' UDP:127.0.0.53:53 &
104 socat 'TCP6-LISTEN:2000,fork,reuseaddr' TCP:127.0.0.53:53 &
107 ulimit -c unlimited
109 …OT_OPTIONS='-DOT_READLINE=OFF -DOT_FULL_LOGS=ON -DOT_LOG_OUTPUT=PLATFORM_DEFINED' OT_NATIVE_IP=1 V…
110 - name: Check Crash
113 CRASHED=$(./script/test check_crash | tail -1)
114 [[ $CRASHED -eq "1" ]] && echo "Crashed!" || echo "Not crashed."
116 - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
119 name: core-expect-linux
121 ./ot-core-dump/*
122 - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
125 name: syslog-expect-linux
127 - name: Generate Coverage
130 - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
132 name: cov-expects-linux-2
134 retention-days: 1
136 thread-cert:
137 runs-on: ubuntu-22.04
144 - name: Harden Runner
145 uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
147 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
149 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
152 - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
154 python-version: '3.12'
156 - name: Bootstrap
158 sudo apt-get update
159 sudo apt-get --no-install-recommends install -y lcov ninja-build
160 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
161 - name: Build
164 - name: Run
166 …ORS_ONLN) ./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-ce…
167 - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
170 name: thread-cert
172 - name: Generate Coverage
175 - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
177 name: cov-thread-cert
180 pty-linux:
181 name: pty-linux OT_DAEMON=${{ matrix.OT_DAEMON }}
182 runs-on: ubuntu-24.04
184 fail-fast: false
186 OT_DAEMON: ['off', 'on']
192 - name: Harden Runner
193 uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
195 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
197 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
198 - name: Bootstrap
200 sudo apt-get update
201 …sudo apt-get --no-install-recommends install -y socat expect lcov libreadline-dev net-tools ninja-…
203 wget https://github.com/obgm/libcoap/archive/bsd-licensed.tar.gz
204 tar xvf bsd-licensed.tar.gz
205 cd libcoap-bsd-licensed
207 …./configure --prefix= --exec-prefix=/usr --with-boost=internal --disable-tests --disable-documenta…
208 make -j2
210 - name: Build
212 script/check-posix-pty build
213 - name: Run
215 script/check-posix-pty check
216 - name: Run (OT_DAEMON_ALLOW_ALL)
217 if: matrix.OT_DAEMON == 'on'
221 script/check-posix-pty check
222 - name: Generate Coverage
225 - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
227 name: cov-pty-linux-${{ matrix.OT_DAEMON }}
229 retention-days: 1
231 pty-macos:
232 name: pty-macos OT_DAEMON=${{ matrix.OT_DAEMON }}
233 runs-on: macos-14
235 fail-fast: false
237 OT_DAEMON: ['off', 'on']
242 - name: Harden Runner
243 uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
245 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
247 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
248 - name: Bootstrap
250 rm -f /usr/local/bin/2to3
251 rm -f /usr/local/bin/2to3-3.11
252 rm -f /usr/local/bin/idle3
253 rm -f /usr/local/bin/idle3.11
254 rm -f /usr/local/bin/pydoc3
255 rm -f /usr/local/bin/pydoc3.11
256 rm -f /usr/local/bin/python3
257 rm -f /usr/local/bin/python3.11
258 rm -f /usr/local/bin/python3-config
259 rm -f /usr/local/bin/python3.11-config
262 - name: Build
264 script/check-posix-pty build
265 - name: Run
267 script/check-posix-pty check
269 rcp-stack-reset:
270 runs-on: ubuntu-22.04
272 - name: Harden Runner
273 uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
275 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
277 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
278 - name: Bootstrap
282 sudo apt-get --no-install-recommends install -y expect ninja-build lcov socat
283 sudo python3 -m pip install git+https://github.com/openthread/pyspinel
284 - name: Build
286 …script/cmake-build simulation -DOT_CSL_RECEIVER=ON -DOT_FULL_LOGS=ON -DOT_LOG_OUTPUT=PLATFORM_DEFI…
287 - name: Run
289 python3 tests/scripts/misc/test_rcp_reset.py build/simulation/examples/apps/ncp/ot-rcp
290 - name: Generate Coverage
293 - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
295 name: cov-rcp-stack-reset
297 retention-days: 1
299 upload-coverage:
301 - expects-linux
302 - pty-linux
303 - thread-cert
304 runs-on: ubuntu-22.04
306 - name: Harden Runner
307 uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
309 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
311 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
314 - name: Bootstrap
316 sudo apt-get --no-install-recommends install -y lcov
317 - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
320 pattern: cov-*
321 merge-multiple: true
322 - name: Combine Coverage
325 - name: Upload Coverage
326 uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0