@@ -51,17 +51,21 @@ jobs:
5151 strategy :
5252 fail-fast : false
5353 matrix :
54- os : [ubuntu-latest, macos-latest, windows-latest ]
54+ os : [ubuntu-latest, macos-latest, windows-2019 ]
5555 architecture : ['x64']
56+ linux_archs : ["auto s390x"]
5657 include :
57- - os : windows-latest
58+ - os : windows-2019
5859 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
6263 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
6569
6670 name : Python ${{ matrix.os }}
6771 env :
7175 MACOSX_DEPLOYMENT_TARGET : " 10.9"
7276 CIBW_REPAIR_WHEEL_COMMAND_WINDOWS : " delvewheel repair -w {dest_dir} {wheel}"
7377 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 }}
7681 steps :
7782 - uses : actions/checkout@v2
7883
@@ -86,23 +91,25 @@ jobs:
8691# if: runner.os == 'Windows'
8792# run: |
8893# 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
89101
90102 - name : Add msbuild to PATH
91103 if : runner.os == 'Windows'
92104 uses : microsoft/setup-msbuild@v1.0.2
93105
94- - name : Install cibuildwheel
95- run : |
96- python -m pip install cibuildwheel==1.9.0
97-
98106 - name : delvewheel install
99107 if : runner.os == 'Windows'
100108 run : |
101109 python -m pip install delvewheel==0.0.9
102110
103111 - name : Build wheels
104- run : |
105- python -m cibuildwheel --output-dir wheelhouse
112+ uses : joerick/cibuildwheel@v1.9.0
106113
107114 - uses : actions/upload-artifact@v2
108115 with :
0 commit comments