File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,27 @@ jobs:
100100 run : sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
101101 - name : Run cargo test
102102 run : cargo test --workspace --all-features --exclude yarnspinner_without_bevy_examples
103+
104+ test-bevy-docs :
105+ name : Test Docs with Bevy
106+ runs-on : ubuntu-latest
107+ timeout-minutes : 30
108+ steps :
109+ - uses : actions/checkout@v4
110+ with :
111+ submodules : " true"
112+
113+ - uses : dtolnay/rust-toolchain@master
114+ with :
115+ toolchain : stable
116+
117+ - name : Populate target directory from cache
118+ uses : Swatinem/rust-cache@v2
119+ with :
120+ save-if : ${{ github.ref == 'refs/heads/main' }}
121+
122+ - name : Install alsa and udev
123+ run : sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
103124 - name : Run doc tests
104125 run : LD_LIBRARY_PATH="$(rustc --print target-libdir)" cargo test --workspace --all-features --doc --exclude yarnspinner_without_bevy_examples
105126
You can’t perform that action at this time.
0 commit comments