Skip to content

Commit

Permalink
Add a CI workflow to make sure this works.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmarkowsky committed Oct 7, 2024
1 parent dd756a8 commit dd51276
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit dd51276

Please sign in to comment.