Try building docs on macOS

This commit is contained in:
XAMPPRocky 2020-11-23 13:12:34 +01:00 committed by GitHub
parent 3888fbe51f
commit 62da29e3c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,11 +5,10 @@ on:
- main - main
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: rustup component add rustfmt clippy rust-src rustc-dev llvm-tools-preview - run: rustup component add rustfmt clippy rust-src rustc-dev llvm-tools-preview
- run: sudo apt install libwayland-cursor0 libxkbcommon-dev libwayland-dev
- run: brew install mdbook spirv-tools - run: brew install mdbook spirv-tools
- run: mkdir docs-build/ - run: mkdir docs-build/
- run: $(cd docs && mdbook build -d ../docs-build/book) - run: $(cd docs && mdbook build -d ../docs-build/book)