Skip to content

Commit

Permalink
add building docs in CI
Browse files Browse the repository at this point in the history
Hmm, documentation wasn't updated for the last 6 months...
  • Loading branch information
boriskaus authored Nov 14, 2023
1 parent 795026c commit be3bc8b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,21 @@ jobs:
sudo -E cp -r deb64 deb
cd ..
julia --color=yes --depwarn=yes --inline=yes --project=. test/start_tests_CI.jl is64bit no_superlu
build_docs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
with:
version: '1.6'
- name: Install dependencies 1
run: sudo apt-get update && sudo apt-get install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev
- name: Install dependencies 2
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
run: DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24'
julia --project=docs/ docs/make.jl

0 comments on commit be3bc8b

Please sign in to comment.