File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 7474 with :
7575 name : wheels
7676 path : ./wheelhouse
77+
78+ build_wheels_aarch64 :
79+ name : Build wheels on ${{ matrix.os }}, ${{ matrix.arch }}
80+ runs-on : ${{ matrix.os }}
81+ strategy :
82+ matrix :
83+ os : [ubuntu-18.04]
84+ arch : [aarch64]
85+
86+ steps :
87+ - uses : actions/checkout@v2
88+
89+ - uses : actions/setup-python@v1
90+ name : Install Python 3.8
91+ with :
92+ python-version : " 3.8"
93+
94+ - name : Install cibuildwheel
95+ run : |
96+ python -m pip install cibuildwheel~=1.8.0
97+
98+ - uses : docker/setup-qemu-action@v1
99+ name : Set up QEMU
100+
101+ - name : Checkout submodules
102+ shell : bash
103+ run : |
104+ git submodule sync --recursive
105+ git submodule update --init --force --recursive --depth=1
106+
107+ - name : Build wheel
108+ if : contains(github.ref, 'tags/')
109+ run : |
110+ python -m cibuildwheel --output-dir wheelhouse
111+ env :
112+ CIBW_BUILD : cp36-* cp37-* cp38-* cp39-*
113+ CIBW_ARCHS_LINUX : ${{ matrix.arch }}
114+ CIBW_BEFORE_BUILD : python -m pip install --upgrade pip
115+ && python -m pip install tox
116+ CIBW_TEST_REQUIRES : tox
117+ CIBW_TEST_COMMAND : cd /project
118+ && python -m pip install -r requirements-dev.txt
119+ && /opt/python/*/bin/tox -e py
120+
121+ - uses : actions/upload-artifact@v1
122+ if : contains(github.ref, 'tags/')
123+ with :
124+ name : wheels
125+ path : ./wheelhouse
You can’t perform that action at this time.
0 commit comments