-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (23 loc) · 859 Bytes
/
nrfutil.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: nrfutil
on:
workflow_dispatch:
jobs:
nrfutil:
runs-on: ubuntu-latest
env:
NRFUTIL_LOG: "trace"
SDK_BRANCH: v2.6-branch
TOOLCHAIN_VERSION: v2.6.0
steps:
- run: |
wget https://developer.nordicsemi.com/.pc-tools/nrfutil/x64-linux/nrfutil
mv nrfutil /usr/local/bin
chmod +x /usr/local/bin/nrfutil
nrfutil install toolchain-manager
nrfutil toolchain-manager install --ncs-version ${{ env.TOOLCHAIN_VERSION }}
nrfutil toolchain-manager list
# launch doesn't work in CI, export instead
nrfutil toolchain-manager env --as-script > export_env.sh
source export_env.sh
west init -m https://github.com/nrfconnect/sdk-nrf --mr ${{ env.SDK_BRANCH }} .
west update --narrow -o=--depth=1