mirror of
https://github.com/jeertmans/manim-slides.git
synced 2025-07-03 23:13:51 +08:00
fix(ci): fixing workflows and caching
This commit is contained in:
7
.github/workflows/pages.yml
vendored
7
.github/workflows/pages.yml
vendored
@ -30,10 +30,15 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Install Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.10'
|
||||
cache: 'pip'
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v2
|
||||
- name: Install Linux Dependencies
|
||||
run: sudo apt install libcairo2-dev libpango1.0-dev ffmpeg
|
||||
run: sudo apt install libcairo2-dev libpango1.0-dev ffmpeg libgl1
|
||||
- name: Install Python dependencies
|
||||
run: pip install manim sphinx sphinx_click furo
|
||||
- name: Install local Python package
|
||||
|
1
.github/workflows/test_examples.yml
vendored
1
.github/workflows/test_examples.yml
vendored
@ -47,6 +47,7 @@ jobs:
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ matrix.pyversion }}
|
||||
cache: 'pip'
|
||||
- name: Append to Path on MacOS and Ubuntu
|
||||
if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest'
|
||||
run: echo "${HOME}/.local/bin" >> $GITHUB_PATH
|
||||
|
Reference in New Issue
Block a user