|
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 | +
|
| 61 | + - name: Update Zephyr to specific revision (for developers purpose) |
| 62 | + run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py ed365fdadcf380a0b2e543a7d4ba88ed4f227466" |
| 63 | + |
50 | 64 | - name: Checkout submodules & Bootstrap
|
51 | 65 | uses: ./.github/actions/checkout-submodules-and-bootstrap
|
52 | 66 | with:
|
|
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 |
| - - 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" |
72 |
| - |
73 | 75 | - name: Build example Telink (B92 retention) Air Quality Sensor App
|
74 | 76 | # Run test for master and s07641069 PRs
|
75 | 77 | if: github.event.pull_request.number == null || github.event.pull_request.head.repo.full_name == 's07641069/connectedhomeip'
|
|
0 commit comments