Skip to content

debug examples on macOS #279

debug examples on macOS

debug examples on macOS #279

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
tags: '*'
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: '1'
- name: Install dependencies
run: julia --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
GKSwstype: "100" #https://discourse.julialang.org/t/generation-of-documentation-fails-qt-qpa-xcb-could-not-connect-to-display/60988
run: |
wget -q https://github.com/rstudio/tinytex-releases/releases/download/v2024.04/TinyTeX-1-v2024.04.tar.gz
tar zxf TinyTeX-1-v2024.04.tar.gz
export PATH=$PWD/.TinyTeX/bin/x86_64-linux:$PATH
sudo apt-get install -y pdf2svg
tlmgr update --self
tlmgr install standalone varwidth
pip install matplotlib # for PyPlot
julia --project=docs --color=yes docs/make.jl