From dd51276b5da28d064d99ef2ccc0f3823de60b68b Mon Sep 17 00:00:00 2001 From: Pete Markowsky Date: Mon, 7 Oct 2024 14:59:46 -0400 Subject: [PATCH] Add a CI workflow to make sure this works. --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..b403497 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + strategy: + fail-fast: false + matrix: + os: [macos-13, macos-14, macos-15] + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v4 + - name: Build + run: cargo build --verbose + - name: Tests + run: cargo test --verbose + - name: Runs on latest macOS + run: sudo ./target/debug/csops-bin status 1