@@ -25,12 +25,14 @@ jobs:
25
25
run : pip install tox
26
26
- name : Lint
27
27
run : tox -e lint
28
- docs_mypy :
28
+
29
+ package-checks :
29
30
strategy :
30
31
matrix :
31
32
tox_env :
32
33
- docs
33
34
- mypy
35
+ - twine_check
34
36
needs : lint
35
37
runs-on : ubuntu-20.04
36
38
steps :
50
52
env :
51
53
PYTHON_ISAL_LINK_DYNAMIC : True
52
54
53
- twine_check :
54
- needs : lint
55
- runs-on : ${{ matrix.os }}
56
- strategy :
57
- matrix :
58
- python-version :
59
- - 3.6
60
- os : ["ubuntu-latest" ]
61
- steps :
62
-
63
- with :
64
- submodules : recursive
65
- - name : Set up Python ${{ matrix.python-version }}
66
-
67
- with :
68
- python-version : ${{ matrix.python-version }}
69
- - name : Install build dependencies (Linux) # Yasm in pypa/manylinux images.
70
- run : sudo apt install yasm
71
- if : runner.os == 'Linux'
72
- - name : Install build dependencies (Macos)
73
- run : brew install yasm automake autoconf
74
- if : runner.os == 'macOS'
75
- - name : Install twine, cython wheel and upgrade setuptools
76
- run : pip install --upgrade twine cython wheel setuptools
77
- - name : create dists
78
- run : python setup.py sdist bdist_wheel
79
- - name : check dists
80
- run : twine check dist/*
81
-
82
55
test-static :
83
56
needs : lint
84
57
runs-on : ${{ matrix.os }}
@@ -142,7 +115,7 @@ jobs:
142
115
deploy :
143
116
if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
144
117
runs-on : ${{ matrix.os }}
145
- needs : [lint, docs , test-static, test-dynamic, twine_check ]
118
+ needs : [lint, package-checks , test-static, test-dynamic]
146
119
strategy :
147
120
matrix :
148
121
os : [ "macos-latest", "ubuntu-latest" ]
0 commit comments