gha: artifact tweak
This commit is contained in:
parent
028ff3847d
commit
3b7d90fb45
|
@ -66,17 +66,22 @@ jobs:
|
||||||
with:
|
with:
|
||||||
command: install
|
command: install
|
||||||
args: cargo-binutils
|
args: cargo-binutils
|
||||||
|
- name: cargo size
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: size
|
||||||
|
args: --release
|
||||||
- name: cargo objcopy
|
- name: cargo objcopy
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: objcopy
|
command: objcopy
|
||||||
args: --release -- -O binary stabilizer.bin
|
args: --release --verbose -- -O binary stabilizer.bin
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: stabilizer_${{ github.sha }}_bin
|
name: stabilizer_${{ github.sha }}_bin
|
||||||
path: |
|
path: |
|
||||||
./target/thumbv7em-none-eabihf/release/stabilizer
|
target/*/release/stabilizer
|
||||||
./stabilizer.bin
|
stabilizer.bin
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -104,7 +109,7 @@ jobs:
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: stabilizer_${{ github.sha }}_criterion
|
name: stabilizer_${{ github.sha }}_criterion
|
||||||
path: ./dsp/target/criterion
|
path: dsp/target/criterion
|
||||||
|
|
||||||
# Tell bors about it
|
# Tell bors about it
|
||||||
# https://github.com/rtic-rs/cortex-m-rtic/blob/8a4f9c6b8ae91bebeea0791680f89375a78bffc6/.github/workflows/build.yml#L566-L603
|
# https://github.com/rtic-rs/cortex-m-rtic/blob/8a4f9c6b8ae91bebeea0791680f89375a78bffc6/.github/workflows/build.yml#L566-L603
|
||||||
|
|
Loading…
Reference in New Issue