Skip to content

Commit

Permalink
ci: speedup esp examples checking
Browse files Browse the repository at this point in the history
Signed-off-by: Haobo Gu <[email protected]>
  • Loading branch information
HaoboGu committed Dec 16, 2024
1 parent 5b584f4 commit 76c6db0
Showing 1 changed file with 34 additions and 16 deletions.
50 changes: 34 additions & 16 deletions .github/workflows/build esp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,39 +23,54 @@ jobs:
build_esp32c3_ble:
runs-on: ubuntu-22.04
steps:
- uses: cargo-bins/cargo-binstall@main
- uses: actions/checkout@v3
- name: Install ldproxy
run: cargo install ldproxy
- name: Install espup
run: cargo install espup
- name: Install ldproxy and espup
run: cargo binstall ldproxy espup -y
- name: Install esp toolchain
run: espup install
- name: Build esp32c3_ble
working-directory: ./examples/use_rust/esp32c3_ble
run: |
cargo +esp build --release
cargo clean
build_esp32c3_ble_with_config:
runs-on: ubuntu-22.04
steps:
- uses: cargo-bins/cargo-binstall@main
- uses: actions/checkout@v3
- name: Install ldproxy and espup
run: cargo binstall ldproxy espup -y
- name: Install esp toolchain
run: espup install
- name: Build esp32c3_ble with config
working-directory: ./examples/use_config/esp32c3_ble
run: |
cargo +esp build --release
cargo clean
build_esp32c6_ble:
runs-on: ubuntu-22.04

steps:
- uses: cargo-bins/cargo-binstall@main
- uses: actions/checkout@v3
- name: Install ldproxy
run: cargo install ldproxy
- name: Install espup
run: cargo install espup
- name: Install ldproxy and espup
run: cargo binstall ldproxy espup -y
- name: Install esp toolchain
run: espup install
- name: Build esp32c6_ble
working-directory: ./examples/use_rust/esp32c6_ble
run: |
cargo +esp build --release
cargo clean
build_esp32c6_ble_with_config:
runs-on: ubuntu-22.04
steps:
- uses: cargo-bins/cargo-binstall@main
- uses: actions/checkout@v3
- name: Install ldproxy and espup
run: cargo binstall ldproxy espup -y
- name: Install esp toolchain
run: espup install
- name: Build esp32c6_ble with config
working-directory: ./examples/use_config/esp32c6_ble
run: |
Expand All @@ -64,20 +79,23 @@ jobs:
build_esp32s3_ble:
runs-on: ubuntu-22.04

steps:
- uses: cargo-bins/cargo-binstall@main
- uses: actions/checkout@v3
- name: Install ldproxy
run: cargo install ldproxy
- name: Install espup
run: cargo install espup
- name: Install esp toolchain
run: espup install
- name: Install ldproxy and espup
run: cargo binstall ldproxy espup -y
- name: Build esp32s3_ble
working-directory: ./examples/use_rust/esp32s3_ble
run: |
cargo +esp build --release
cargo clean
build_esp32s3_ble_with_config:
runs-on: ubuntu-22.04
steps:
- uses: cargo-bins/cargo-binstall@main
- uses: actions/checkout@v3
- name: Install ldproxy and espup
run: cargo binstall ldproxy espup -y
- name: Build esp32s3_ble with config
working-directory: ./examples/use_config/esp32s3_ble
run: |
Expand Down

0 comments on commit 76c6db0

Please sign in to comment.