From 8cea2bf33f32ccfdc040dca6919fa690baac5027 Mon Sep 17 00:00:00 2001 From: Elliott Slaughter Date: Mon, 9 Sep 2024 15:32:36 -0700 Subject: [PATCH] Check build on macOS. --- .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