Skip to content

misc: configure sponsorships #44

misc: configure sponsorships

misc: configure sponsorships #44

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
defaults:
run:
shell: bash
env:
CARGO_TERM_COLOR: always
jobs:
all:
name: All
strategy:
matrix:
target:
- x86_64-unknown-linux-gnu
- x86_64-apple-darwin
- x86_64-pc-windows-msvc
include:
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
- target: x86_64-apple-darwin
os: macos-latest
- target: x86_64-pc-windows-msvc
os: windows-latest
runs-on: ${{matrix.os}}
env:
RUSTFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
components: clippy
- name: Info
run: |
rustup --version
cargo --version
cargo clippy --version
- name: Build
run: |
cargo build --release --target ${{ matrix.target }}
- name: Clippy
run: |
cargo clippy --release --target ${{ matrix.target }}
cargo clippy --release --features "local" --target ${{ matrix.target }}
cargo clippy --release --features "serde" --target ${{ matrix.target }}
cargo clippy --release --all-features --target ${{ matrix.target }}
- name: Tests
run: |
cargo test --release --target ${{ matrix.target }}
cargo test --release --features "local" --target ${{ matrix.target }}
cargo test --release --features "serde" --target ${{ matrix.target }}
cargo test --release --all-features --target ${{ matrix.target }}