Skip to content

Commit 1bf597c

Browse files
committed
Ditch manim docker image approach, just build on python 3.12 with base system, just like local.
1 parent 757878b commit 1bf597c

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

.github/workflows/build-and-deploy.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ concurrency:
3636
jobs:
3737
build-and-deploy:
3838
runs-on: ubuntu-latest
39-
container:
40-
image: manimcommunity/manim:latest
41-
options: --user root
42-
env:
43-
PATH: /opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
4439
environment:
4540
name: github-pages
4641
url: ${{ steps.deployment.outputs.page_url }}
@@ -49,14 +44,22 @@ jobs:
4944
with:
5045
fetch-depth: 2
5146

52-
- name: Install system build dependencies
47+
- name: Set up Python
48+
uses: actions/setup-python@v5
49+
with:
50+
python-version: '3.12'
51+
52+
- name: Install system dependencies
5353
run: |
54-
apt-get update
55-
apt-get install -y gcc g++ pkg-config libcairo2-dev libpango1.0-dev
54+
sudo apt-get update
55+
sudo apt-get install -y ffmpeg libcairo2-dev libpango1.0-dev \
56+
texlive texlive-latex-extra texlive-fonts-extra
5657
57-
- name: Install dependencies
58+
- name: Install Python dependencies
5859
run: |
59-
pip install manim-voiceover[gtts] invoke python-graphblas networkx matplotlib python-dotenv mkdocs mkdocs-material pymdown-extensions
60+
pip install manim manim-voiceover[gtts] invoke python-graphblas \
61+
networkx matplotlib python-dotenv \
62+
mkdocs mkdocs-material pymdown-extensions
6063
if [ "${{ inputs.prod }}" = "true" ]; then
6164
pip install 'elevenlabs>=0.2.27,<0.3.0'
6265
fi

0 commit comments

Comments
 (0)