forked from awtterpip/bevy_oxr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request awtterpip#11 from raffaeleragni/main
Basic automated build
- Loading branch information
Showing
2 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Build | ||
on: | ||
push: | ||
branches: | ||
- "main" | ||
paths-ignore: | ||
- "/docs" | ||
- "README.md" | ||
pull_request: | ||
paths-ignore: | ||
- "/docs" | ||
- "README.md" | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v3 | ||
- name: "Cache" | ||
uses: Swatinem/rust-cache@v2 | ||
- name: "External dependencies" | ||
run: sudo apt-get install -y libasound2-dev portaudio19-dev build-essential libpulse-dev libdbus-1-dev libudev-dev | ||
- name: "Checks" | ||
run: | | ||
cargo update | ||
#cargo fmt --check | ||
#cargo clippy --no-deps --tests -- -D warnings | ||
#cargo rustdoc -- -D warnings | ||
- name: "Build" | ||
run: | | ||
cargo build | ||
cargo build --examples | ||
- name: "Test" | ||
run: | | ||
cargo test --verbose |
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