Skip to content

Merge pull request #167 from JuliaGNI/dev-variational #280

Merge pull request #167 from JuliaGNI/dev-variational

Merge pull request #167 from JuliaGNI/dev-variational #280

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
tags: '*'
pull_request:
jobs:
build:
name: Documentation
runs-on: ubuntu-latest
permissions:
contents: write
statuses: write
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@latest
- name: Configure doc environment
run: |
julia --project=docs/ -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
Pkg.build()
Pkg.precompile()'
sudo apt-get install imagemagick
sudo apt-get install texlive-xetex
- name: Generate Images
run: |
make all -C src/images
make clean -C src/images
working-directory: docs
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
GKSwstype: 100
- run: |
julia --project=docs -e '
using Documenter: DocMeta, doctest
using GeometricIntegrators
DocMeta.setdocmeta!(GeometricIntegrators, :DocTestSetup, :(using GeometricIntegrators); recursive=true)
doctest(GeometricIntegrators)'