Skip to content

Commit

Permalink
Merge pull request #13 from thomsen85/update-ci
Browse files Browse the repository at this point in the history
update ci to work for pr and add installation for bevy
  • Loading branch information
CJGutz committed May 22, 2023
2 parents e6a500a + aa49705 commit 3487295
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: CI

# This workflow run tests and build for each push

on:
push:
branches:
- main
pull_request:

jobs:
test:
Expand All @@ -16,24 +15,13 @@ jobs:
- name: Update local toolchain
run: |
rustup update
rustup component add clippy
rustup install nightly
rustup install stable
sudo apt-get install g++ pkg-config libx11-dev libasound2-dev libudev-dev
- name: Toolchain info
run: |
cargo --version --verbose
rustc --version
cargo clippy --version
- name: Lint
run: |
cargo fmt -- --check
cargo clippy -- -D warnings
- name: Test
run: |
cargo check
cargo test --all
- name: Build
run: |
Expand Down

0 comments on commit 3487295

Please sign in to comment.