Skip to content

Commit

Permalink
libudev-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyTornetta committed Mar 11, 2023
1 parent 94137cf commit 36e05cb
Showing 1 changed file with 23 additions and 22 deletions.
45 changes: 23 additions & 22 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,30 +25,31 @@ jobs:
- name: Cache
uses: Swatinem/rust-cache@v2
- name: Install Bevy Dependencies
run: sudo apt-get install -y g++ pkg-config libx11-dev libasound2-dev
run: sudo apt-get install -y g++ pkg-config libx11-dev libasound2-dev libudev-dev
- name: Build
run: cargo build --verbose
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
- name: Cache
uses: Swatinem/rust-cache@v2
# Note that there is no release tag available yet
# and the following code will use master branch HEAD
# all the time.
- name: Install Bevy Dependencies
run: sudo apt-get install -y g++ pkg-config libx11-dev libasound2-dev
- uses: actions-rs/clippy@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all-targets --no-deps -- --deny "warnings"
# Doesn't work
# clippy:
# name: Clippy
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - uses: actions-rs/toolchain@v1
# with:
# toolchain: nightly
# components: clippy
# override: true
# - name: Cache
# uses: Swatinem/rust-cache@v2
# # Note that there is no release tag available yet
# # and the following code will use master branch HEAD
# # all the time.
# - name: Install Bevy Dependencies
# run: sudo apt-get install -y g++ pkg-config libx11-dev libasound2-dev
# - uses: actions-rs/clippy@master
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# args: --all-features --all-targets --no-deps -- --deny "warnings"
# rustfmt:
# name: rustfmt
# runs-on: ubuntu-latest
Expand Down

0 comments on commit 36e05cb

Please sign in to comment.