Skip to content

Commit

Permalink
Merge pull request #1 from marcelohdez/better-ci
Browse files Browse the repository at this point in the history
Add windows and macos to CI
  • Loading branch information
marcelohdez authored Feb 17, 2024
2 parents 34ad174 + 8637344 commit b7bb70c
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
name: Rust
name: Rust build & tests

on:
pull_request:
push:
branches:
- "master"
- "master"
tags:
- '*'
- "*"

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest
test:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --locked --verbose
- name: Run tests
run: cargo test --locked --verbose
- uses: actions/checkout@v4
- name: Build
run: cargo build --locked --verbose
- name: Run tests
run: cargo test --locked --verbose

0 comments on commit b7bb70c

Please sign in to comment.