Skip to content

Enable scatter, gather, fold, upsample common_testsuites on Metal (#731) #26

Enable scatter, gather, fold, upsample common_testsuites on Metal (#731)

Enable scatter, gather, fold, upsample common_testsuites on Metal (#731) #26

Workflow file for this run

name: Documentation
on:
push:
branches:
- master
- staging
- trying
tags: '*'
pull_request:
concurrency:
# Cancel any in-progress run when a new commit is pushed to the same PR/branch,
# to save CI resources on frequent pushes. Runs on `master` are never cancelled.
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
# needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read
jobs:
docs:
name: Build and deploy docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: julia-actions/setup-julia@v3
with:
# minimum supported Julia version (keep in sync with Project.toml [compat])
version: '1.10'
- uses: julia-actions/cache@v3
- run: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
# `docs/make.jl` runs `makedocs(doctest=true)`, so this also checks the doctests.
- run: julia --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}