From 4ad0248bc477b80df2bf09551353b86a974b91ef Mon Sep 17 00:00:00 2001 From: Elliott Slaughter Date: Mon, 9 Sep 2024 15:42:43 -0700 Subject: [PATCH] Check build on macOS (#63) --- .github/workflows/rust.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4b098ed..80f601a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -36,6 +36,33 @@ jobs: command: check args: --all-features + check_mac: + name: Check macOS + runs-on: macos-13 + steps: + - uses: actions/checkout@v3 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: 1.74.1 + override: true + - uses: actions-rs/cargo@v1 + with: + command: check + args: --no-default-features + - uses: actions-rs/cargo@v1 + with: + command: check + args: --no-default-features --features client + - uses: actions-rs/cargo@v1 + with: + command: check + args: --no-default-features --features server + - uses: actions-rs/cargo@v1 + with: + command: check + args: --all-features + check_wasm: name: Check wasm32 runs-on: ubuntu-latest