Fix the "parameters" example #110
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: push | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# Bevy has some additional dependencies on Linux | |
# https://github.com/bevyengine/bevy/blob/9788b386c7846c99978ab5c1a33698ec5a471d84/.github/workflows/ci.yml | |
- name: Install alsa and udev | |
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev | |
- name: Build | |
run: cargo build --lib --examples | |
- name: Build doc | |
run: cargo doc --no-deps | |
- name: Run tests | |
# Enable the integration-tests feature so that tests/doctests get access to some private constructors | |
run: cargo test --features integration-tests |