Merge branch 'main' into interactions
This commit is contained in:
35
.github/workflows/build.yml
vendored
Normal file
35
.github/workflows/build.yml
vendored
Normal 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
|
||||||
@@ -10,9 +10,7 @@ linked = ["openxr/linked", "openxr/static"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.75"
|
anyhow = "1.0.75"
|
||||||
ash = "0.37.3"
|
ash = "0.37.3"
|
||||||
bevy = { git = "https://github.com/awtterpip/bevy", default-features = false, features = [
|
bevy = { git = "https://github.com/awtterpip/bevy", rev = "98f3b8ae207deb440f7255b3d900e7e01b6df0cb" }
|
||||||
"bevy_render",
|
|
||||||
] }
|
|
||||||
openxr = { version = "0.17.1", features = ["mint"] }
|
openxr = { version = "0.17.1", features = ["mint"] }
|
||||||
mint = "0.5.9"
|
mint = "0.5.9"
|
||||||
wgpu = "0.16.0"
|
wgpu = "0.16.0"
|
||||||
@@ -20,7 +18,7 @@ wgpu-core = { version = "0.16.0", features = ["vulkan"] }
|
|||||||
wgpu-hal = "0.16.0"
|
wgpu-hal = "0.16.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
bevy = { git = "https://github.com/awtterpip/bevy" }
|
bevy = { git = "https://github.com/awtterpip/bevy", rev = "98f3b8ae207deb440f7255b3d900e7e01b6df0cb" }
|
||||||
color-eyre = "0.6.2"
|
color-eyre = "0.6.2"
|
||||||
|
|
||||||
[[example]]
|
[[example]]
|
||||||
|
|||||||
Reference in New Issue
Block a user