-
Notifications
You must be signed in to change notification settings - Fork 80
39 lines (32 loc) · 1.01 KB
/
linux.yml
File metadata and controls
39 lines (32 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Build_Linux
on: [workflow_dispatch]
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
arch: [x86_64, i686, aarch64]
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
if: ${{ matrix.arch == 'aarch64'}}
uses: docker/setup-qemu-action@v2
with:
platforms: all
- name: Build wheels
uses: pypa/cibuildwheel@v2.10.2
env:
# configure cibuildwheel to build native archs ('auto'), and some
# emulated ones
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
CIBW_BUILD_FRONTEND: "build"
# CIBW_ARCHS_MACOS: x86_64 universal2 arm64
# CIBW_ARCHS_LINUX: aarch64
# CIBW_BEFORE_BUILD: yum -y install fftw-devel
CIBW_SKIP: pp*
CIBW_BUILD: "*-manylinux_x86_64 *-manylinux_i686 *-manylinux_aarch64"
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl