From b5c07eb2837dadf0f1bc268103ae481ae205e2a5 Mon Sep 17 00:00:00 2001 From: Caznix Date: Sun, 1 Dec 2024 18:53:22 -0500 Subject: [PATCH] idfk at this point --- .github/workflows/rust.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b73e3ad..91c3546 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -26,6 +26,9 @@ jobs: - os: macos-latest arch: aarch64 target: aarch64-apple-darwin + exclude: + - os: windows-latest + arch: aarch64 runs-on: ${{ matrix.os }} steps: @@ -48,12 +51,23 @@ jobs: toolchain: stable override: true target: ${{ matrix.target }} + profile: minimal - name: Build - run: cargo build --release --target ${{ matrix.target }} + uses: actions-rs/cargo@v1 + with: + command: build + args: --release --target ${{ matrix.target }} + env: + CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc - name: Run tests - run: cargo test --verbose --target ${{ matrix.target }} + uses: actions-rs/cargo@v1 + with: + command: test + args: --verbose --target ${{ matrix.target }} + env: + CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc - name: Upload artifacts uses: actions/upload-artifact@v3