Lines Matching +full:apt +full:- +full:get
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-20.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@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
57 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
59 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
60 - name: Bootstrap
62 sudo apt-get --no-install-recommends install -y expect ninja-build lcov socat
63 - name: Run RCP Mode
65 ulimit -c unlimited
67 …OT_OPTIONS='-DOT_READLINE=OFF -DOT_FULL_LOGS=ON -DOT_LOG_OUTPUT=PLATFORM_DEFINED' VIRTUAL_TIME=0 O…
68 - name: Run ot-fct
70 OT_CMAKE_NINJA_TARGET="ot-fct" script/cmake-build posix
71 tests/scripts/expect/ot-fct.exp
72 - name: Check Crash
75 CRASHED=$(./script/test check_crash | tail -1)
76 [[ $CRASHED -eq "1" ]] && echo "Crashed!" || echo "Not crashed."
78 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
81 name: core-expect-rcp
83 ./ot-core-dump/*
84 - name: Generate Coverage
87 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
89 name: cov-expects-linux-1
91 - name: Run TUN Mode
93 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
95 sudo apt-get install --no-install-recommends -y bind9-host ntp socat
97 sudo socat 'UDP6-LISTEN:53,fork,reuseaddr,bind=[::1]' UDP:127.0.0.53:53 &
98 socat 'TCP6-LISTEN:2000,fork,reuseaddr' TCP:127.0.0.53:53 &
101 ulimit -c unlimited
103 …OT_OPTIONS='-DOT_READLINE=OFF -DOT_FULL_LOGS=ON -DOT_LOG_OUTPUT=PLATFORM_DEFINED' OT_NATIVE_IP=1 V…
104 - name: Check Crash
107 CRASHED=$(./script/test check_crash | tail -1)
108 [[ $CRASHED -eq "1" ]] && echo "Crashed!" || echo "Not crashed."
110 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
113 name: core-expect-linux
115 ./ot-core-dump/*
116 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
119 name: syslog-expect-linux
121 - name: Generate Coverage
124 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
126 name: cov-expects-linux-2
129 thread-cert:
130 runs-on: ubuntu-20.04
137 - name: Harden Runner
138 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
140 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
142 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
145 - name: Bootstrap
147 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
148 … sudo apt-get --no-install-recommends install -y lcov ninja-build python3-setuptools python3-wheel
149 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
150 - name: Build
153 - name: Run
155 …ORS_ONLN) ./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-ce…
156 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
159 name: thread-cert
161 - name: Generate Coverage
164 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
166 name: cov-thread-cert
169 pty-linux:
170 name: pty-linux OT_DAEMON=${{ matrix.OT_DAEMON }}
171 runs-on: ubuntu-20.04
173 fail-fast: false
181 - name: Harden Runner
182 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
184 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
186 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
187 - name: Bootstrap
189 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
190 sudo apt-get --no-install-recommends install -y socat expect lcov net-tools ninja-build
192 wget https://github.com/obgm/libcoap/archive/bsd-licensed.tar.gz
193 tar xvf bsd-licensed.tar.gz
194 cd libcoap-bsd-licensed
196 …./configure --prefix= --exec-prefix=/usr --with-boost=internal --disable-tests --disable-documenta…
197 make -j2
199 - name: Build
201 script/check-posix-pty build
202 - name: Run
204 script/check-posix-pty check
205 - name: Run (OT_DAEMON_ALLOW_ALL)
210 script/check-posix-pty check
211 - name: Generate Coverage
214 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
216 name: cov-pty-linux-${{ matrix.DAEMON }}
219 pty-macos:
220 name: pty-macos OT_DAEMON=${{ matrix.OT_DAEMON }}
221 runs-on: macos-12
223 fail-fast: false
230 - name: Harden Runner
231 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
233 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
235 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
236 - name: Bootstrap
238 rm -f /usr/local/bin/2to3
239 rm -f /usr/local/bin/2to3-3.11
240 rm -f /usr/local/bin/idle3
241 rm -f /usr/local/bin/idle3.11
242 rm -f /usr/local/bin/pydoc3
243 rm -f /usr/local/bin/pydoc3.11
244 rm -f /usr/local/bin/python3
245 rm -f /usr/local/bin/python3.11
246 rm -f /usr/local/bin/python3-config
247 rm -f /usr/local/bin/python3.11-config
250 - name: Build
252 script/check-posix-pty build
253 - name: Run
255 script/check-posix-pty check
257 rcp-stack-reset:
258 runs-on: ubuntu-20.04
260 - name: Harden Runner
261 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
263 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
265 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
266 - name: Bootstrap
270 sudo apt-get --no-install-recommends install -y expect ninja-build lcov socat
271 sudo python3 -m pip install git+https://github.com/openthread/pyspinel
272 - name: Build
274 …script/cmake-build simulation -DOT_CSL_RECEIVER=ON -DOT_FULL_LOGS=ON -DOT_LOG_OUTPUT=PLATFORM_DEFI…
275 - name: Run
277 python3 tests/scripts/misc/test_rcp_reset.py build/simulation/examples/apps/ncp/ot-rcp
278 - name: Generate Coverage
281 - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
283 name: cov-rcp-stack-reset
286 upload-coverage:
288 - expects-linux
289 - pty-linux
290 - thread-cert
291 runs-on: ubuntu-20.04
293 - name: Harden Runner
294 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
296 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
298 - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
301 - name: Bootstrap
303 sudo apt-get --no-install-recommends install -y lcov
304 - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
307 - name: Combine Coverage
310 - name: Upload Coverage
311 uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
316 delete-coverage-artifacts:
317 needs: upload-coverage
318 runs-on: ubuntu-20.04
320 - name: Harden Runner
321 uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
323 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
325 - uses: geekyeggo/delete-artifact@54ab544f12cdb7b71613a16a2b5a37a9ade990af # v2.0.0
327 name: cov-*