Skip to content

Commit

Permalink
Upload artifacts after objcopy
Browse files Browse the repository at this point in the history
Signed-off-by: Egor Savkin <[email protected]>
  • Loading branch information
thomasfire committed Sep 30, 2024
1 parent 7d79b5c commit 96fbc76
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,26 @@ jobs:
toolchain: ${{ matrix.toolchain }}
target: thumbv7em-none-eabihf
override: true
components: llvm-tools-preview
- name: Install binary utils
uses: actions-rs/cargo@v1
with:
command: install
args: |
cargo-binutils
- uses: actions-rs/cargo@v1
with:
command: build
args: --release --features "${{ matrix.features }}"
- name: Objcopy release binary
uses: actions-rs/cargo@v1
with:
command: objcopy
args: --release --bin thermostat-eem -- -O binary ${{ matrix.toolchain }}-thermostat-eem.bin
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
path: ${{ matrix.toolchain }}-thermostat-eem.bin

doc:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 96fbc76

Please sign in to comment.