File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9292 with :
9393 name : wheels
9494 path : ./wheelhouse
95+
96+ build_wheels_aarch64 :
97+ name : Build wheels on ${{ matrix.os }}, ${{ matrix.arch }}
98+ runs-on : ${{ matrix.os }}
99+ strategy :
100+ matrix :
101+ os : [ubuntu-18.04]
102+ arch : [aarch64]
103+
104+ steps :
105+ - uses : actions/checkout@v2
106+
107+ - uses : actions/setup-python@v1
108+ name : Install Python 3.8
109+ with :
110+ python-version : " 3.8"
111+
112+ - name : Install cibuildwheel
113+ run : |
114+ python -m pip install cibuildwheel~=1.8.0
115+
116+ - uses : docker/setup-qemu-action@v1
117+ name : Set up QEMU
118+
119+ - name : Checkout submodules
120+ shell : bash
121+ run : |
122+ git submodule sync --recursive
123+ git submodule update --init --force --recursive --depth=1
124+
125+ - name : Build wheel
126+ if : contains(github.ref, 'tags/')
127+ run : |
128+ python -m cibuildwheel --output-dir wheelhouse
129+ env :
130+ CIBW_BUILD : cp36-* cp37-* cp38-* cp39-*
131+ CIBW_ARCHS_LINUX : ${{ matrix.arch }}
132+ CIBW_BEFORE_BUILD : python -m pip install --upgrade pip
133+ && python -m pip install tox
134+ CIBW_TEST_REQUIRES : tox
135+ CIBW_TEST_COMMAND : cd /project
136+ && python -m pip install -r requirements-dev.txt
137+ && /opt/python/*/bin/tox -e py
138+
139+ - uses : actions/upload-artifact@v1
140+ if : contains(github.ref, 'tags/')
141+ with :
142+ name : wheels
143+ path : ./wheelhouse
You can’t perform that action at this time.
0 commit comments