Skip to content

Commit

Permalink
add pr workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerboa-app committed Jan 25, 2024
1 parent 5bdc9a6 commit eab56b5
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build and test

on:
pull_request:
workflow_dispatch:

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

steps:
- uses: actions/checkout@v3

- name: setup rust stable
run: curl https://sh.rustup.rs -sSf | sh -s -- -y

- name: unit tests
run: |
cp tests/*.json .
cargo test --all --release

0 comments on commit eab56b5

Please sign in to comment.