Skip to content

Commit

Permalink
Build, wrap and upload stubs as artifacts for PRs
Browse files Browse the repository at this point in the history
This will help test new changes in tools/libraries which use the
flasher stub like esp-serial-flasher or esptool.
  • Loading branch information
DNedic committed Jun 18, 2024
1 parent c3d1dc4 commit 5dda1f5
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: cargo check
run: cargo check -Zbuild-std=core --target=${{ matrix.build.target }} --features=${{ matrix.build.chip }}
- name: build & wrap (${{ matrix.build.chip }})
working-directory: xtask
run: cargo run -- wrap ${{ matrix.build.chip }}
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.build.chip }} stub JSON
path: ../${{ matrix.build.chip }}.json


check-xtensa:
runs-on: ubuntu-latest
Expand All @@ -71,6 +79,13 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: cargo check
run: cargo check -Zbuild-std=core --target=${{ matrix.build.target }} --features=${{ matrix.build.chip }}
- name: build & wrap (${{ matrix.build.chip }})
working-directory: xtask
run: cargo run -- wrap ${{ matrix.build.chip }}
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.build.chip }} stub JSON
path: ../${{ matrix.build.chip }}.json

# --------------------------------------------------------------------------
# Formatting & Clippy
Expand Down

0 comments on commit 5dda1f5

Please sign in to comment.