Rework postprocessor handling in GLMakie #8567
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs build and deploy | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
tags: | |
- '*' | |
branches: | |
- master | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
# NOTE: Python is necessary for the pre-rendering (minification) step | |
- name: Install python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8' | |
- name: Install binary dependencies | |
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 | |
# NOTE: Here you can install dependencies such as matplotlib if you use | |
# packages such as PyPlot. | |
# - run: pip install matplotlib | |
- name: Install Julia | |
uses: julia-actions/setup-julia@v2 | |
with: | |
version: '1' | |
- uses: julia-actions/cache@v2 | |
- name: Build and deploy docs | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: > | |
cd docs; | |
DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' | |
julia --color=yes makedocs.jl | |
- name: Upload site as artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Docs build | |
path: ./docs/build |