47
47
steps :
48
48
- name : Checkout
49
49
uses : actions/checkout@v4
50
+
51
+ - name : Update Zephyr SDK (for developers purpose)
52
+ run : |
53
+ set -e
54
+ cd /opt/telink
55
+ rm -rf zephyr-sdk-0.16.1
56
+ curl --location https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.17.0/zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz --output zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz
57
+ tar xvf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz
58
+ rm -rf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz
59
+ zephyr-sdk-0.17.0/setup.sh -t riscv64-zephyr-elf
60
+ export TELINK_ZEPHYR_SDK_DIR=/opt/telink/zephyr-sdk-0.17.0
61
+ export ZEPHYR_SDK_INSTALL_DIR=$TELINK_ZEPHYR_SDK_DIR
62
+ echo "Zephyr SDK updated"
63
+
50
64
- name : Checkout submodules & Bootstrap
51
65
uses : ./.github/actions/checkout-submodules-and-bootstrap
52
66
with :
@@ -58,17 +72,12 @@ jobs:
58
72
with :
59
73
gh-context : ${{ toJson(github) }}
60
74
61
- - name : Update Zephyr SDK (Temporary change for debugging purpose)
62
- run : |
63
- cd /opt/telink \
64
- rm -rf zephyr-sdk-0.16.1 \
65
- curl --location https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.17.0/zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz --output zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz \
66
- tar xvf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz \
67
- rm -rf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz \
68
- zephyr-sdk-0.17.0/setup.sh -t riscv64-zephyr-elf
69
-
70
75
- name : Update Zephyr to specific revision (for developers purpose)
71
- run : scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 46ac12b997d6f1ced2c5cc86a7e21d880d4b114e"
76
+ run : |
77
+ echo $TELINK_ZEPHYR_SDK_DIR
78
+ echo $ZEPHYR_SDK_INSTALL_DIR
79
+ ls -la /opt/telink
80
+ scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py ed365fdadcf380a0b2e543a7d4ba88ed4f227466"
72
81
73
82
- name : Build example Telink (B92 retention) Air Quality Sensor App
74
83
# Run test for master and s07641069 PRs
0 commit comments