File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 8
8
types : [published]
9
9
10
10
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
+
11
41
release :
12
42
name : Release
13
43
if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
14
44
runs-on : ubuntu-latest
45
+ needs : [ build_wheels ]
15
46
steps :
47
+ - uses : actions/download-artifact@v2
48
+ with :
49
+ name : dist
50
+ path : dist/
16
51
- name : Upload to PyPI
17
52
uses : pypa/gh-action-pypi-publish@master
18
53
with :
You can’t perform that action at this time.
0 commit comments