-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (37 loc) · 1.38 KB
/
python-package_manylinux.yml
File metadata and controls
43 lines (37 loc) · 1.38 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
40
41
42
43
name: manylinux2014_x86_64
on:
workflow_call:
workflow_dispatch:
jobs:
manylinux2014_x86_64:
# build manylinux whl, no tests (all tests for linux are in pre_test_ubuntu, it could be problems)
name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: true # fail-fast: true meant that if one test fail, then all running tests will be canceled
matrix:
config:
- { name: "manylinux2014_x86_64", os: ubuntu-latest, python-version: '3.10', architecture: x64, artifact_name: "manylinux.all.zip" }
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Set up Python ${{ matrix.config.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.config.python-version }}
architecture: ${{ matrix.config.architecture }}
- name: Build manylinux Python wheels
uses: RalfG/python-wheels-manylinux-build@v0.5.0-manylinux2014_x86_64
with:
python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310'
build-requirements: 'pybind11==2.11.0'
system-packages: ''
package-path: ''
pip-wheel-args: '--no-deps'
- name: Upload wheel artifact
if: ${{ success() }}
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.config.artifact_name }}
path: ./*-manylinux*.whl