From a50099ad74b926e9c351beebe4207942a0de5649 Mon Sep 17 00:00:00 2001 From: vikingowl Date: Fri, 17 Oct 2025 01:13:36 +0200 Subject: [PATCH] ci(mac): add compile-only macOS build (no artifacts) --- .github/workflows/macos-check.yml | 34 +++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/macos-check.yml diff --git a/.github/workflows/macos-check.yml b/.github/workflows/macos-check.yml new file mode 100644 index 0000000..b86fbde --- /dev/null +++ b/.github/workflows/macos-check.yml @@ -0,0 +1,34 @@ +name: macos-check + +on: + push: + branches: + - dev + pull_request: + branches: + - dev + +jobs: + build: + name: cargo check (macOS) + runs-on: macos-latest + steps: + - name: Checkout sources + uses: actions/checkout@v4 + + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@stable + + - name: Cache Cargo registry + uses: actions/cache@v4 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + target + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + restore-keys: | + ${{ runner.os }}-cargo- + + - name: Cargo check + run: cargo check --workspace --all-features