Switch to WebGPU #113
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install D compiler | |
uses: dlang-community/setup-dlang@v1 | |
with: | |
compiler: ldc-latest | |
- name: Install *nix Dependencies | |
if: runner.os == 'Linux' | |
run: sudo apt-get install --quiet -y libglfw3 libglfw3-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev | |
- name: Build Documentation | |
run: | | |
make glfw | |
make docs | |
- name: GitHub Pages | |
if: success() && github.ref == 'refs/heads/master' | |
uses: crazy-max/ghaction-github-pages@v2.1.2 | |
with: | |
target_branch: gh-pages | |
build_dir: docs | |
keep_history: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |