Skip to content

update to bevy 0.14 #29

update to bevy 0.14

update to bevy 0.14 #29

Workflow file for this run

name: Rust
on:
push:
branches: [debug, main, release]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -D warnings
jobs:
build:
strategy:
matrix:
toolchain: [stable, nightly]
os: [windows-latest, ubuntu-latest, macos-latest]
exclude:
- os: macos-latest
toolchain: nightly
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
components: rustfmt, clippy
toolchain: ${{ matrix.toolchain }}
- name: fmt
if: matrix.toolchain == 'nightly'
run: cargo fmt --all -- --check
- name: check
run: cargo check
- name: update & install
if: runner.os == 'linux'
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
- name: build & test
run: cargo test --verbose
- name: clippy
run: cargo clippy --all