Skip to content

fix: install pango system dependency #149

fix: install pango system dependency

fix: install pango system dependency #149

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
name: Build Files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Install system dependencies
run: |
sudo apt update
sudo apt install -y libpango1.0-dev libpangocairo-1.0-0
- name: Use Node.js 22.x
uses: actions/setup-node@v6
with:
node-version: 22.x
cache: 'yarn'
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.13'
cache: 'pip'
- name: Install Texlive + Packages
uses: zauguin/install-texlive@v4
with:
packages: >
scheme-basic latex fontspec tipa calligra xcolor
standalone preview doublestroke setspace rsfs relsize
ragged2e fundus-calligra microtype wasysym physics dvisvgm jknapltx
wasy cm-super babel-english gnu-freefont mathastext cbfonts-fd xetex
- name: Install Python Dependencies
run: |
cd scripts
pip install -r requirements.txt
- name: Build Manim Examples and json files
run: |
python scripts/build.py
- name: Install Yarn Dependencies
run: |
yarn install --network-timeout 100000
- name: Build Site
run: |
yarn build
- name: Upload Pages Artifacts
id: deployment
uses: actions/upload-pages-artifact@v4
with:
path: public/
deploy:
name: Deploy Site
environment:
name: github-pages
url: ${{ steps.deploy.outputs.page_url }}
needs: [build] # The second job must depend on the first one to complete before running, and uses ubuntu-latest instead of windows.
runs-on: ubuntu-latest
if: github.repository_owner == 'ManimCommunity' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
steps:
- name: Deploy to GitHub Pages
id: deploy
uses: actions/deploy-pages@v4