From 61807d5068ee9f9eaa2f2c0aadc0ee40d8c7758e 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 | 36 ++++++++++++++++++++++++++++++++++ 1 file changed, 36 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..7929801 --- /dev/null +++ b/.github/workflows/macos_ci.yml @@ -0,0 +1,36 @@ +# 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 + 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