Skip to content

Commit

Permalink
ci: Fix style for cross-compile-bench
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Nov 26, 2024
1 parent c1c1561 commit 2e05a4b
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,26 +68,26 @@ jobs:
publish_dir: ./pages

cross-compile-bench:
needs: build
if: ${{ github.repository_owner == 'bluerobotics' }}
runs-on: ubuntu-latest
strategy:
matrix:
TARGET: [armv7-unknown-linux-gnueabihf]
steps:
- uses: actions/checkout@master
- name: Cross-compile benchmark
uses: houseabsolute/[email protected]
with:
command: bench
target: ${{ matrix.TARGET }}
args: "--no-run"
- name: Upload benchmark binary
uses: actions/[email protected]
with:
name: benchmark-binary
path: target/${{ matrix.TARGET }}/release/deps/bench-*
retention-days: 1
needs: build
if: ${{ github.repository_owner == 'bluerobotics' }}
runs-on: ubuntu-latest
strategy:
matrix:
TARGET: [armv7-unknown-linux-gnueabihf]
steps:
- uses: actions/checkout@master
- name: Cross-compile benchmark
uses: houseabsolute/[email protected]
with:
command: bench
target: ${{ matrix.TARGET }}
args: "--no-run"
- name: Upload benchmark binary
uses: actions/[email protected]
with:
name: benchmark-binary
path: target/${{ matrix.TARGET }}/release/deps/bench-*
retention-days: 1

run-bench:
needs: [cross-compile-bench, slow-tests]
Expand Down

0 comments on commit 2e05a4b

Please sign in to comment.