From 2dc82c34cbb5cee746078c4e4fca990713b4e3dd Mon Sep 17 00:00:00 2001 From: John Rogers Date: Mon, 21 Jul 2025 21:31:36 +0100 Subject: [PATCH] You only build twice, (well you usedt too) --- .github/workflows/build.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 596ae03..5598826 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,7 +47,7 @@ jobs: - name: Install Rust dependencies run: cargo fetch --target ${{ env.RUST_TARGET }} - name: Build release binary - run: cargo build --release --target ${{ env.RUST_TARGET }} + run: cargo build and test --release --target ${{ env.RUST_TARGET }} env: # Set linker for the target CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc @@ -60,9 +60,6 @@ jobs: PKG_CONFIG_ALLOW_SYSTEM_CFLAGS: 1 # Add library path for the cross-compiler's linker RUSTFLAGS: -L/usr/lib/aarch64-linux-gnu - - name: Run tests on native platform - run: cargo test --release --bin ntp_timeturner - - name: Upload artifact uses: actions/upload-artifact@v4 with: