From 2e05a4bf65ce2df66f4dca8a4161e0e67523a1fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Mon, 25 Nov 2024 19:09:58 -0300 Subject: [PATCH] ci: Fix style for cross-compile-bench MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- .github/workflows/action.yml | 40 ++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 1ef2419e2..f9892fb4b 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -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/actions-rust-cross@v0.0.17 - with: - command: bench - target: ${{ matrix.TARGET }} - args: "--no-run" - - name: Upload benchmark binary - uses: actions/upload-artifact@v4.4.3 - 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/actions-rust-cross@v0.0.17 + with: + command: bench + target: ${{ matrix.TARGET }} + args: "--no-run" + - name: Upload benchmark binary + uses: actions/upload-artifact@v4.4.3 + with: + name: benchmark-binary + path: target/${{ matrix.TARGET }}/release/deps/bench-* + retention-days: 1 run-bench: needs: [cross-compile-bench, slow-tests]