Skip to content

Commit e7c2bcf

Browse files
authored
Merge pull request #5 from jeertmans/reserve-video-and-more
feat(cli): reverse videos on the fly!
2 parents 574c545 + ac486f4 commit e7c2bcf

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/python-publish.yml

+35
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,46 @@ on:
88
types: [published]
99

1010
jobs:
11+
build_wheels:
12+
name: Build wheels on ${{ matrix.os }}
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
matrix:
16+
os: [ubuntu-latest]
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
21+
# Used to host cibuildwheel
22+
- uses: actions/setup-python@v2
23+
24+
- name: Install deps
25+
run: sudo apt-get install libsdl-pango-dev
26+
27+
- name: Install packages
28+
run: python -m pip install -U manim tqdm
29+
30+
- name: Install cibuildwheel
31+
run: python -m pip install -U setuptools wheel pip
32+
33+
- name: Build wheels
34+
run: python setup.py sdist
35+
36+
- uses: actions/upload-artifact@v2
37+
with:
38+
name: dist
39+
path: dist/*.tar.*
40+
1141
release:
1242
name: Release
1343
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
1444
runs-on: ubuntu-latest
45+
needs: [ build_wheels ]
1546
steps:
47+
- uses: actions/download-artifact@v2
48+
with:
49+
name: dist
50+
path: dist/
1651
- name: Upload to PyPI
1752
uses: pypa/gh-action-pypi-publish@master
1853
with:

0 commit comments

Comments
 (0)