Skip to content

Commit

Permalink
Upload CI binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
windoze committed Jan 13, 2025
1 parent f161216 commit 88a82f6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,21 @@ jobs:
default: true
buildtargets: esp32
ldproxy: false
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get -y install libudev-dev libusb-dev wget unzip
wget 'https://github.com/esp-rs/espflash/releases/download/v3.3.0/cargo-espflash-x86_64-unknown-linux-musl.zip'
unzip cargo-espflash-x86_64-unknown-linux-musl.zip
mv cargo-espflash ~/.cargo/bin/
- name: Enable caching
uses: Swatinem/rust-cache@v2
- name: Run cargo fmt
run: cargo fmt --all -- --check --color always
- name: Run clippy
run: cargo clippy --release --features=${{ matrix.models }} --workspace -- -D warnings
- name: Build binary
run: cargo build --release --features=${{ matrix.models }}
run: cargo espflash save-image --chip esp32s3 --release --features ${{ matrix.models }} --partition-table partitions_single_app.csv esparrier-${{ matrix.models }}.bin
- name: Upload binaries
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 88a82f6

Please sign in to comment.