-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Fix style for cross-compile-bench
Signed-off-by: Patrick José Pereira <[email protected]>
- Loading branch information
1 parent
c1c1561
commit 2e05a4b
Showing
1 changed file
with
20 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|