From adf52abc0b5cc0c36143900fafaa724bff3147fc Mon Sep 17 00:00:00 2001 From: d3v-null Date: Mon, 23 Sep 2024 21:34:10 +0800 Subject: [PATCH] add from macos-ci --- .github/workflows/macos_ci.yml | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/macos_ci.yml diff --git a/.github/workflows/macos_ci.yml b/.github/workflows/macos_ci.yml new file mode 100644 index 0000000..9754812 --- /dev/null +++ b/.github/workflows/macos_ci.yml @@ -0,0 +1,37 @@ +# Based on https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md +name: MacOS Tests +on: + push: + tags-ignore: + - '**' + branches: + - '**' + pull_request: null +jobs: + test: + strategy: + matrix: + os: + - macos-latest + - macos-10.15 + name: MacOS Tests + continue-on-error: true + runs-on: '${{ matrix.os }}' + steps: + - name: Checkout sources + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Install stable toolchain + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + components: 'rustfmt, clippy' + - name: Install Cargo Make + uses: davidB/rust-cargo-make@v1 + - name: Install Dependencies + run: cargo make install_deps + - run: cargo make test --no-default-features + - run: cargo make test