ponyfetch/.github/workflows/rust.yml
Jakub Dorničák d9ffa75da5
Create rust.yml
2022-12-04 23:21:04 +01:00

36 lines
685 B
YAML

name: Rust build 📦
on:
release:
types: [created]
env:
CARGO_TERM_COLOR: always
jobs:
build_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
build_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
build_macos:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose