Skip to content

New github action file #65

New github action file

New github action file #65

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
arch: [x86_64, aarch64]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build project
run: cargo build --release
- name: Run tests
run: cargo test