You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
804 B
33 lines
804 B
3 years ago
|
name: Rust
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [ master ]
|
||
|
pull_request:
|
||
|
branches: [ master ]
|
||
|
|
||
|
env:
|
||
|
CARGO_TERM_COLOR: always
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
strategy:
|
||
|
fail-fast: false
|
||
|
matrix:
|
||
|
os: [ windows-latest, macos-latest, ubuntu-latest ]
|
||
|
|
||
|
runs-on: ${{ matrix.os }}
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Debug Build
|
||
|
run: cargo build --verbose --manifest-path rsbddisasm/Cargo.toml
|
||
|
- name: Release build
|
||
|
run: cargo build --release --verbose --manifest-path rsbddisasm/Cargo.toml
|
||
|
- name: Run tests
|
||
|
run: cargo test --verbose --manifest-path rsbddisasm/Cargo.toml
|
||
|
- name: Run clippy
|
||
|
run: cargo clippy --manifest-path rsbddisasm/Cargo.toml
|
||
|
- name: Run format checks
|
||
|
run: cargo fmt -- --check --manifest-path rsbddisasm/Cargo.toml
|