@@ -29,6 +29,8 @@ concurrency:
29
29
30
30
env :
31
31
CHIP_NO_LOG_TIMESTAMPS : true
32
+ TELINK_ZEPHYR_SDK_DIR : /opt/telink/zephyr-sdk-0.17.0
33
+ # ZEPHYR_SDK_INSTALL_DIR: /opt/telink/zephyr-sdk-0.17.0
32
34
33
35
jobs :
34
36
telink :
47
49
steps :
48
50
- name : Checkout
49
51
uses : actions/checkout@v4
52
+
53
+ - name : Update Zephyr SDK (for developers purpose)
54
+ run : |
55
+ set -e
56
+ cd /opt/telink
57
+ rm -rf zephyr-sdk-0.16.1
58
+ 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
59
+ tar xvf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz
60
+ rm -rf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz
61
+ zephyr-sdk-0.17.0/setup.sh -t riscv64-zephyr-elf
62
+ # export TELINK_ZEPHYR_SDK_DIR=/opt/telink/zephyr-sdk-0.17.0
63
+ # export ZEPHYR_SDK_INSTALL_DIR=$TELINK_ZEPHYR_SDK_DIR
64
+ # echo "Zephyr SDK updated to $ZEPHYR_SDK_INSTALL_DIR"
65
+
50
66
- name : Checkout submodules & Bootstrap
51
67
uses : ./.github/actions/checkout-submodules-and-bootstrap
52
68
with :
@@ -58,17 +74,12 @@ jobs:
58
74
with :
59
75
gh-context : ${{ toJson(github) }}
60
76
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
77
- 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"
78
+ run : |
79
+ echo $TELINK_ZEPHYR_SDK_DIR
80
+ echo $ZEPHYR_SDK_INSTALL_DIR
81
+ ls -la /opt/telink
82
+ scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py ed365fdadcf380a0b2e543a7d4ba88ed4f227466"
72
83
73
84
- name : Build example Telink (B92 retention) Air Quality Sensor App
74
85
# Run test for master and s07641069 PRs
0 commit comments