From 95e5a59720409e48ee5bbf2d275f56fe84f4092a Mon Sep 17 00:00:00 2001 From: Michael Neale Date: Thu, 20 Nov 2025 09:16:08 +1100 Subject: [PATCH] linux build specifics --- .github/workflows/ci.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2604f91..36bcd89 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,13 +53,21 @@ jobs: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y run: | . $HOME/.cargo/env - cargo build --workspace - cargo test --workspace --lib --tests + cargo build --workspace --exclude g3-computer-control + cargo test --workspace --exclude g3-computer-control --lib --tests - - name: Build (Linux x86_64 / macOS) - if: matrix.arch != 'aarch64' + - name: Build (Linux x86_64) + if: matrix.arch != 'aarch64' && runner.os == 'Linux' + run: cargo build --workspace --exclude g3-computer-control + + - name: Run tests (Linux x86_64) + if: matrix.arch != 'aarch64' && runner.os == 'Linux' + run: cargo test --workspace --exclude g3-computer-control --lib --tests + + - name: Build (macOS) + if: runner.os == 'macOS' run: cargo build --workspace - - name: Run tests (Linux x86_64 / macOS) - if: matrix.arch != 'aarch64' + - name: Run tests (macOS) + if: runner.os == 'macOS' run: cargo test --workspace --lib --tests