File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 88 types : [published]
99
1010jobs :
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 :
You can’t perform that action at this time.
0 commit comments