Skip to content

Commit 2fe07d7

Browse files
committed
ci(esp): update esp32 ci config
Signed-off-by: Haobo Gu <[email protected]>
1 parent 097ad46 commit 2fe07d7

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.github/workflows/build esp.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,16 @@ jobs:
1717
- uses: actions/checkout@v3
1818
- name: Install ldproxy
1919
run: cargo install ldproxy
20-
- name: Switch to nightly
21-
run: rustup default nightly
22-
- name: Add targets to nightly
23-
run: rustup target add thumbv7em-none-eabihf thumbv7em-none-eabi riscv32imc-unknown-none-elf --toolchain nightly
24-
- name: Add components to nightly
25-
run: rustup component add rust-src --toolchain nightly
26-
- name: Build esp32c3_ble
27-
working-directory: ./examples/use_rust/esp32c3_ble
28-
run: cargo +nightly build --release
29-
- name: Build esp32c3_ble with config
30-
working-directory: ./examples/use_config/esp32c3_ble
31-
run: cargo +nightly build --release
3220
- name: Install espup
3321
run: cargo install espup
3422
- name: Install esp toolchain
3523
run: espup install
24+
- name: Build esp32c3_ble
25+
working-directory: ./examples/use_rust/esp32c3_ble
26+
run: cargo +esp build --release
27+
- name: Build esp32c3_ble with config
28+
working-directory: ./examples/use_config/esp32c3_ble
29+
run: cargo +esp build --release
3630
- name: Build esp32s3_ble
3731
working-directory: ./examples/use_rust/esp32s3_ble
3832
run: cargo +esp build --release

0 commit comments

Comments
 (0)