Skip to content

Commit

Permalink
Add MSRV build to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
djeedai committed Aug 5, 2024
1 parent c25abb6 commit ab40d08
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,36 @@ jobs:
CARGO_INCREMENTAL: 0
if: runner.os == 'macos' && matrix.dimensions == 'all'

msrv:
runs-on: ubuntu-latest
steps:
- name: Install Bevy dependencies
run: |
sudo apt-get update;
DEBIAN_FRONTEND=noninteractive sudo apt-get install --no-install-recommends -yq \
libasound2-dev libudev-dev;
if: runner.os == 'linux'
- uses: actions/checkout@v4
- uses: actions/cache@v2
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
~/.cargo/.crates.toml
~/.cargo/.crates2.json
target/
key: ${{ runner.os }}-cargo-build-msrv-stable-${{ hashFiles('**/Cargo.toml') }}
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.79
components: rustfmt, clippy
- name: Check
run: cargo check --lib --all-features
env:
CARGO_INCREMENTAL: 0

run-examples:
#runs-on: ubuntu-latest # Bug: Library libxkbcommon-x11.so could not be loaded.
runs-on: windows-latest
Expand Down

0 comments on commit ab40d08

Please sign in to comment.