File tree 3 files changed +79
-1
lines changed 3 files changed +79
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and test windows wheels
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ - test
7
+ pull_request :
8
+ create :
9
+
10
+ jobs :
11
+ build :
12
+ runs-on : windows-latest
13
+ steps :
14
+ - name : Checkout
15
+ uses : actions/checkout@v1
16
+
17
+ - name : Cythonize
18
+ shell : bash
19
+ run : |
20
+ pip install -U Cython
21
+ make cython
22
+ #python setup.py sdist
23
+
24
+ - name : Python 3.6 (amd64)
25
+ env :
26
+ PYTHON : " py -3.6-64"
27
+ shell : bash
28
+ run : |
29
+ ci/runtests.sh
30
+
31
+ - name : Python 3.6 (x86)
32
+ env :
33
+ PYTHON : " py -3.6-32"
34
+ shell : bash
35
+ run : |
36
+ ci/runtests.sh
37
+
38
+ - name : Python 3.7 (amd64)
39
+ env :
40
+ PYTHON : " py -3.7-64"
41
+ shell : bash
42
+ run : |
43
+ ci/runtests.sh
44
+
45
+ - name : Python 3.7 (x86)
46
+ env :
47
+ PYTHON : " py -3.7-32"
48
+ shell : bash
49
+ run : |
50
+ ci/runtests.sh
51
+
52
+ - name : Python 3.8 (amd64)
53
+ env :
54
+ PYTHON : " py -3.8-64"
55
+ shell : bash
56
+ run : |
57
+ ci/runtests.sh
58
+
59
+ - name : Python 3.8 (x86)
60
+ env :
61
+ PYTHON : " py -3.8-32"
62
+ shell : bash
63
+ run : |
64
+ ci/runtests.sh
65
+
66
+ - name : Upload Wheels
67
+ uses : actions/upload-artifact@v1
68
+ with :
69
+ name : win-wheels
70
+ path : ./dist
Original file line number Diff line number Diff line change 2
2
%PYTHON% \python.exe setup.py build_ext -i
3
3
%PYTHON% \python.exe setup.py install
4
4
%PYTHON% \python.exe -c " import sys; print(hex(sys.maxsize))"
5
- %PYTHON% \python.exe -c " from msgpack import _packer, _unpacker "
5
+ %PYTHON% \python.exe -c " from msgpack import _cmsgpack "
6
6
%PYTHON% \python.exe setup.py bdist_wheel
7
7
%PYTHON% \python.exe -m pytest -v test
8
8
SET EL = %ERRORLEVEL%
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -ex
3
+ ${PYTHON} -VV
4
+ ${PYTHON} -m pip install setuptools wheel pytest
5
+ ${PYTHON} setup.py build_ext -if
6
+ ${PYTHON} -c " from msgpack import _cmsgpack"
7
+ ${PYTHON} setup.py bdist_wheel
8
+ ${PYTHON} -m pytest -v test
You can’t perform that action at this time.
0 commit comments