2021-10-23 17:18:52 +02:00
|
|
|
name: Rust
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2023-01-03 14:07:13 +01:00
|
|
|
branches: [ main ]
|
2021-10-23 17:18:52 +02:00
|
|
|
pull_request:
|
2023-01-03 14:07:13 +01:00
|
|
|
branches: [ main ]
|
2021-10-23 17:18:52 +02:00
|
|
|
|
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [macos-latest, ubuntu-latest, windows-latest]
|
|
|
|
|
|
|
|
steps:
|
2023-06-22 20:41:12 +02:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-23 17:18:52 +02:00
|
|
|
- name: Build
|
|
|
|
run: cargo build --verbose --release
|
|
|
|
- name: Run tests
|
|
|
|
run: cargo test --verbose --release
|