Skip to content

Commit

Permalink
ci: add windows and macos + formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelohdez committed Feb 15, 2024
1 parent 34ad174 commit 8637344
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 8637344

Please sign in to comment.