Merge branch 'main' into interactions

This commit is contained in:
Jay Christy
2023-09-26 14:16:24 -04:00
2 changed files with 37 additions and 4 deletions

35
.github/workflows/build.yml vendored Normal file
View File

@@ -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

View File

@@ -10,9 +10,7 @@ linked = ["openxr/linked", "openxr/static"]
[dependencies]
anyhow = "1.0.75"
ash = "0.37.3"
bevy = { git = "https://github.com/awtterpip/bevy", default-features = false, features = [
"bevy_render",
] }
bevy = { git = "https://github.com/awtterpip/bevy", rev = "98f3b8ae207deb440f7255b3d900e7e01b6df0cb" }
openxr = { version = "0.17.1", features = ["mint"] }
mint = "0.5.9"
wgpu = "0.16.0"
@@ -20,7 +18,7 @@ wgpu-core = { version = "0.16.0", features = ["vulkan"] }
wgpu-hal = "0.16.0"
[dev-dependencies]
bevy = { git = "https://github.com/awtterpip/bevy" }
bevy = { git = "https://github.com/awtterpip/bevy", rev = "98f3b8ae207deb440f7255b3d900e7e01b6df0cb" }
color-eyre = "0.6.2"
[[example]]