Skip to content

Commit

Permalink
Fix building docs (/issues/3664)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg authored Jul 27, 2021
1 parent 6a459d4 commit f049f56
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,8 @@ jobs:
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
run: |
export PLOTDOCS_ANSICOLOR=true
export GKSwstype=nul
# export JULIA_GR_PROVIDER=GR
export GKSwstype=nul # Plots.jl/issues/3664
xvfb-run julia --color=yes --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.add(PackageSpec(name="Plots", rev=split(ENV["GITHUB_REF"], "/", limit=3)[3])); Pkg.instantiate()'
xvfb-run julia --color=yes --project=docs/ -e 'using Pkg; pkg"add Documenter#master"'
# xvfb-run julia --color=yes --project=docs/ -e 'using Pkg; pkg"add GR@0.57.5"'
# xvfb-run julia --color=yes --project=docs/ -e 'using Pkg; pkg"add GR_jll@0.57.3"'
# export LD_LIBRARY_PATH="$(julia --project=docs/ -e 'using Plots; println(Plots.FFMPEG.FFMPEG_jll.LIBPATH[])')"
xvfb-run julia --color=yes --project=docs/ -e 'using Pkg; Pkg.build("Plots")'
# xvfb-run julia --color=yes --project=docs/ -e 'using Pkg; pkg"add Documenter#master"'
xvfb-run julia --color=yes --project=docs/ -e 'using Pkg; pkg"st -m"'
xvfb-run julia --color=yes --project=docs/ -e 'withenv("GITHUB_REPOSITORY" => "JuliaPlots/PlotDocs.jl") do; include("docs/make.jl"); end'

0 comments on commit f049f56

Please sign in to comment.