Skip to content

Commit

Permalink
Add build action
Browse files Browse the repository at this point in the history
  • Loading branch information
SofusA committed Sep 8, 2024
1 parent 970d2ec commit 127939c
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true

- name: Build
run: cargo build --verbose

- name: Run tests
run: cargo test --verbose

0 comments on commit 127939c

Please sign in to comment.