From 332eed5e0dbe81592036afb34b11f258141b41bd Mon Sep 17 00:00:00 2001 From: Dave Rolsky Date: Sun, 22 Dec 2024 15:08:19 -0600 Subject: [PATCH] Build binary after running test --- .github/workflows/ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd2d798..68c8bc1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,14 +28,6 @@ jobs: - stable steps: - uses: actions/checkout@v3 - - name: Build binary - uses: houseabsolute/actions-rust-cross@debug-omegasort - with: - command: "build" - target: ${{ matrix.platform.target }} - toolchain: ${{ matrix.toolchain }} - args: "--locked --release" - strip: true - name: Run tests uses: houseabsolute/actions-rust-cross@v1 with: @@ -44,6 +36,14 @@ jobs: toolchain: ${{ matrix.toolchain }} args: "--locked --release" if: ${{ !matrix.platform.skip_tests }} + - name: Build binary + uses: houseabsolute/actions-rust-cross@debug-omegasort + with: + command: "build" + target: ${{ matrix.platform.target }} + toolchain: ${{ matrix.toolchain }} + args: "--locked --release" + strip: true - name: Debug run: | sudo apt-get -y update