summaryrefslogtreecommitdiffstats
path: root/.github/workflows/rust-macos-dev.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/rust-macos-dev.yml')
-rw-r--r--.github/workflows/rust-macos-dev.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/rust-macos-dev.yml b/.github/workflows/rust-macos-dev.yml
new file mode 100644
index 0000000..76a409e
--- /dev/null
+++ b/.github/workflows/rust-macos-dev.yml
@@ -0,0 +1,31 @@
+name: MacOS build dev
+
+on:
+ push:
+ branches: [dev]
+ pull_request:
+ branches: [dev]
+
+jobs:
+ check:
+ name: Rust MacOS ${{ matrix.rust }}
+ runs-on: macos-latest
+ strategy:
+ matrix:
+ rust: [stable]
+ steps:
+ - uses: actions/checkout@v2
+ - name: Install minimal ${{ matrix.rust }} rust
+ uses: actions-rs/toolchain@v1
+ with:
+ override: true
+ profile: minimal
+ toolchain: ${{ matrix.rust }}
+ - run: cargo -Vv && rustc -Vv
+ - run: cargo check
+ - run: cargo check --all-features
+ if: ${{ matrix.rust == 'stable' }}
+ - run: cargo fmt --all -- --check
+ if: ${{ matrix.rust == 'stable' }}
+ - run: cargo test
+ if: ${{ matrix.rust == 'stable' }}