We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72cb3ba commit 9b368beCopy full SHA for 9b368be
.github/workflows/mdbook.yml
@@ -37,11 +37,14 @@ jobs:
37
- name: Rust Cache
38
uses: Swatinem/rust-cache@v2.7.3
39
40
- - name: Install mdBook
41
- run: cargo xtask init --dont-update-ide
+ - name: Setup xtask & GPU drivers
+ run: |
42
+ cargo xtask init --dont-update-ide
43
+ sudo add-apt-repository ppa:kisak/turtle -y
44
+ sudo apt-get install --no-install-recommends libxkbcommon-x11-0 xvfb libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
45
46
- name: Build the book
- run: cargo xtask docs --no-rust-docs
47
+ run: xvfb-run cargo xtask docs --no-rust-docs
48
49
- name: Deploy to GitHub Pages
50
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging'
0 commit comments