@@ -51,17 +51,21 @@ jobs:
51
51
strategy :
52
52
fail-fast : false
53
53
matrix :
54
- os : [ubuntu-latest, macos-latest, windows-latest ]
54
+ os : [ubuntu-latest, macos-latest, windows-2019 ]
55
55
architecture : ['x64']
56
+ linux_archs : ["auto s390x"]
56
57
include :
57
- - os : windows-latest
58
+ - os : windows-2019
58
59
architecture : ' x86'
59
- CIBW_SKIP : " *2*win* *win_amd64"
60
- CIBW_ENVIRONMENT_WINDOWS : INCLUDE="C:/Program Files (x86)/Snappy/include" LIB="C:/Program Files (x86)/Snappy/lib"
61
- - os : windows-latest
60
+ skip : " *2*win* *win_amd64"
61
+ environment_windows : INCLUDE="C:/Program Files (x86)/Snappy/include" LIB="C:/Program Files (x86)/Snappy/lib"
62
+ - os : windows-2019
62
63
architecture : ' x64'
63
- CIBW_SKIP : " *2*win* *win32"
64
- CIBW_ENVIRONMENT_WINDOWS : INCLUDE="C:/Program Files/Snappy/include" LIB="C:/Program Files/Snappy/lib"
64
+ skip : " *2*win* *win32"
65
+ environment_windows : INCLUDE="C:/Program Files/Snappy/include" LIB="C:/Program Files/Snappy/lib"
66
+ - os : ubuntu-20.04
67
+ architecture : ' x64'
68
+ linux_archs : aarch64 ppc64le
65
69
66
70
name : Python ${{ matrix.os }}
67
71
env :
71
75
MACOSX_DEPLOYMENT_TARGET : " 10.9"
72
76
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS : " delvewheel repair -w {dest_dir} {wheel}"
73
77
CIBW_BEFORE_ALL : " bash {project}/build_snappy.sh"
74
- CIBW_SKIP : ${{ matrix.CIBW_SKIP }}
75
- CIBW_ENVIRONMENT_WINDOWS : ${{ matrix.CIBW_ENVIRONMENT_WINDOWS }}
78
+ CIBW_SKIP : ${{ matrix.skip }}
79
+ CIBW_ENVIRONMENT_WINDOWS : ${{ matrix.environment_windows }}
80
+ CIBW_ARCHS_LINUX : ${{ matrix.linux_archs }}
76
81
steps :
77
82
- uses : actions/checkout@v2
78
83
@@ -86,23 +91,25 @@ jobs:
86
91
# if: runner.os == 'Windows'
87
92
# run: |
88
93
# choco install vcpython27 -f -y
94
+
95
+
96
+ - name : Set up QEMU
97
+ if : runner.os == 'Linux'
98
+ uses : docker/setup-qemu-action@v1
99
+ with :
100
+ platforms : all
89
101
90
102
- name : Add msbuild to PATH
91
103
if : runner.os == 'Windows'
92
104
93
105
94
- - name : Install cibuildwheel
95
- run : |
96
- python -m pip install cibuildwheel==1.9.0
97
-
98
106
- name : delvewheel install
99
107
if : runner.os == 'Windows'
100
108
run : |
101
109
python -m pip install delvewheel==0.0.9
102
110
103
111
- name : Build wheels
104
- run : |
105
- python -m cibuildwheel --output-dir wheelhouse
112
+
106
113
107
114
- uses : actions/upload-artifact@v2
108
115
with :
0 commit comments