mirror of
https://github.com/Atsukoro1/ponyfetch.git
synced 2024-11-27 14:28:00 +01:00
37 lines
685 B
YAML
37 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
|