diff --git a/.github/workflows/build esp.yml b/.github/workflows/build esp.yml index 50c3eff6..72518d35 100644 --- a/.github/workflows/build esp.yml +++ b/.github/workflows/build esp.yml @@ -23,11 +23,10 @@ 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 @@ -35,6 +34,15 @@ jobs: 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: | @@ -42,13 +50,11 @@ jobs: 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 @@ -56,6 +62,15 @@ jobs: 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: | @@ -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: |