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@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
57 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
59 - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
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@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4.2.0
81 name: core-expect-rcp
83 ./ot-core-dump/*
84 - name: Generate Coverage
87 - uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4.2.0
89 name: cov-expects-linux-1
91 retention-days: 1
92 - name: Run TUN Mode
94 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
96 sudo apt-get install --no-install-recommends -y bind9-host ntp socat
98 sudo socat 'UDP6-LISTEN:53,fork,reuseaddr,bind=[::1]' UDP:127.0.0.53:53 &
99 socat 'TCP6-LISTEN:2000,fork,reuseaddr' TCP:127.0.0.53:53 &
102 ulimit -c unlimited
104 …OT_OPTIONS='-DOT_READLINE=OFF -DOT_FULL_LOGS=ON -DOT_LOG_OUTPUT=PLATFORM_DEFINED' OT_NATIVE_IP=1 V…
105 - name: Check Crash
108 CRASHED=$(./script/test check_crash | tail -1)
109 [[ $CRASHED -eq "1" ]] && echo "Crashed!" || echo "Not crashed."
111 - uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4.2.0
114 name: core-expect-linux
116 ./ot-core-dump/*
117 - uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4.2.0
120 name: syslog-expect-linux
122 - name: Generate Coverage
125 - uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4.2.0
127 name: cov-expects-linux-2
129 retention-days: 1
131 thread-cert:
132 runs-on: ubuntu-20.04
139 - name: Harden Runner
140 uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
142 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
144 - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
147 - name: Bootstrap
149 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
150 … sudo apt-get --no-install-recommends install -y lcov ninja-build python3-setuptools python3-wheel
151 python3 -m pip install -r tests/scripts/thread-cert/requirements.txt
152 - name: Build
155 - name: Run
157 …ORS_ONLN) ./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-ce…
158 - uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4.2.0
161 name: thread-cert
163 - name: Generate Coverage
166 - uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4.2.0
168 name: cov-thread-cert
171 pty-linux:
172 name: pty-linux OT_DAEMON=${{ matrix.OT_DAEMON }}
173 runs-on: ubuntu-20.04
175 fail-fast: false
183 - name: Harden Runner
184 uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
186 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
188 - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
189 - name: Bootstrap
191 sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
192 sudo apt-get --no-install-recommends install -y socat expect lcov net-tools ninja-build
194 wget https://github.com/obgm/libcoap/archive/bsd-licensed.tar.gz
195 tar xvf bsd-licensed.tar.gz
196 cd libcoap-bsd-licensed
198 …./configure --prefix= --exec-prefix=/usr --with-boost=internal --disable-tests --disable-documenta…
199 make -j2
201 - name: Build
203 script/check-posix-pty build
204 - name: Run
206 script/check-posix-pty check
207 - name: Run (OT_DAEMON_ALLOW_ALL)
212 script/check-posix-pty check
213 - name: Generate Coverage
216 - uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4.2.0
218 name: cov-pty-linux-${{ matrix.DAEMON }}
220 retention-days: 1
222 pty-macos:
223 name: pty-macos OT_DAEMON=${{ matrix.OT_DAEMON }}
224 runs-on: macos-12
226 fail-fast: false
233 - name: Harden Runner
234 uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
236 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
238 - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
239 - name: Bootstrap
241 rm -f /usr/local/bin/2to3
242 rm -f /usr/local/bin/2to3-3.11
243 rm -f /usr/local/bin/idle3
244 rm -f /usr/local/bin/idle3.11
245 rm -f /usr/local/bin/pydoc3
246 rm -f /usr/local/bin/pydoc3.11
247 rm -f /usr/local/bin/python3
248 rm -f /usr/local/bin/python3.11
249 rm -f /usr/local/bin/python3-config
250 rm -f /usr/local/bin/python3.11-config
253 - name: Build
255 script/check-posix-pty build
256 - name: Run
258 script/check-posix-pty check
260 rcp-stack-reset:
261 runs-on: ubuntu-20.04
263 - name: Harden Runner
264 uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
266 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
268 - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
269 - name: Bootstrap
273 sudo apt-get --no-install-recommends install -y expect ninja-build lcov socat
274 sudo python3 -m pip install git+https://github.com/openthread/pyspinel
275 - name: Build
277 …script/cmake-build simulation -DOT_CSL_RECEIVER=ON -DOT_FULL_LOGS=ON -DOT_LOG_OUTPUT=PLATFORM_DEFI…
278 - name: Run
280 python3 tests/scripts/misc/test_rcp_reset.py build/simulation/examples/apps/ncp/ot-rcp
281 - name: Generate Coverage
284 - uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4.2.0
286 name: cov-rcp-stack-reset
288 retention-days: 1
290 upload-coverage:
292 - expects-linux
293 - pty-linux
294 - thread-cert
295 runs-on: ubuntu-20.04
297 - name: Harden Runner
298 uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
300 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
302 - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
305 - name: Bootstrap
307 sudo apt-get --no-install-recommends install -y lcov
308 - uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
311 pattern: cov-*
312 merge-multiple: true
313 - name: Combine Coverage
316 - name: Upload Coverage
317 uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4