|
63 | 63 | runs-on: ubuntu-latest
|
64 | 64 | strategy:
|
65 | 65 | matrix:
|
66 |
| - manylinux-version: ['manylinux2014_x86_64', 'manylinux_2_24_x86_64'] |
| 66 | + manylinux-version: ['manylinux2014_x86_64', 'manylinux_2_24_x86_64', 'manylinux_2_28_x86_64'] |
67 | 67 | name: Linux wheels build (using Docker) ${{ matrix.manylinux-version }}
|
68 | 68 | needs: aim-ui-dist
|
69 | 69 | steps:
|
@@ -95,14 +95,54 @@ jobs:
|
95 | 95 | python -m pip install -r requirements.dev.txt
|
96 | 96 | python -m pip install -r requirements.txt
|
97 | 97 |
|
98 |
| - - name: Build bdist wheels |
| 98 | + - name: Build bdist wheels for 'cp37-cp37m' |
99 | 99 | uses: nick-fields/retry@v2
|
100 | 100 | with:
|
101 | 101 | max_attempts: 3
|
102 | 102 | timeout_minutes: 30
|
103 | 103 | retry_wait_seconds: 60
|
104 |
| - command: docker run --mount type=bind,source=$PWD,target=/opt/aim quay.io/pypa/${{ matrix.manylinux-version }} bash /opt/aim/docker/build-wheels.sh |
| 104 | + command: docker run -e PYTHON_VERSION='cp37-cp37m' --mount type=bind,source=$PWD,target=/opt/aim quay.io/pypa/${{ matrix.manylinux-version }} bash /opt/aim/docker/build-wheels.sh |
105 | 105 |
|
| 106 | + - name: Build bdist wheels for 'cp38-cp38' |
| 107 | + uses: nick-fields/retry@v2 |
| 108 | + with: |
| 109 | + max_attempts: 3 |
| 110 | + timeout_minutes: 30 |
| 111 | + retry_wait_seconds: 60 |
| 112 | + command: docker run -e PYTHON_VERSION='cp38-cp38' --mount type=bind,source=$PWD,target=/opt/aim quay.io/pypa/${{ matrix.manylinux-version }} bash /opt/aim/docker/build-wheels.sh |
| 113 | + |
| 114 | + - name: Build bdist wheels for 'cp39-cp39' |
| 115 | + uses: nick-fields/retry@v2 |
| 116 | + with: |
| 117 | + max_attempts: 3 |
| 118 | + timeout_minutes: 30 |
| 119 | + retry_wait_seconds: 60 |
| 120 | + command: docker run -e PYTHON_VERSION='cp39-cp39' --mount type=bind,source=$PWD,target=/opt/aim quay.io/pypa/${{ matrix.manylinux-version }} bash /opt/aim/docker/build-wheels.sh |
| 121 | + |
| 122 | + - name: Build bdist wheels for 'cp310-cp310' |
| 123 | + uses: nick-fields/retry@v2 |
| 124 | + with: |
| 125 | + max_attempts: 3 |
| 126 | + timeout_minutes: 30 |
| 127 | + retry_wait_seconds: 60 |
| 128 | + command: docker run -e PYTHON_VERSION='cp310-cp310' --mount type=bind,source=$PWD,target=/opt/aim quay.io/pypa/${{ matrix.manylinux-version }} bash /opt/aim/docker/build-wheels.sh |
| 129 | + |
| 130 | + - name: Build bdist wheels for 'cp311-cp311' |
| 131 | + uses: nick-fields/retry@v2 |
| 132 | + with: |
| 133 | + max_attempts: 3 |
| 134 | + timeout_minutes: 30 |
| 135 | + retry_wait_seconds: 60 |
| 136 | + command: docker run -e PYTHON_VERSION='cp311-cp311' --mount type=bind,source=$PWD,target=/opt/aim quay.io/pypa/${{ matrix.manylinux-version }} bash /opt/aim/docker/build-wheels.sh |
| 137 | + |
| 138 | + - name: Build bdist wheels for 'cp312-cp312' |
| 139 | + if: matrix.manylinux-version == 'manylinux_2_28_x86_64' |
| 140 | + uses: nick-fields/retry@v2 |
| 141 | + with: |
| 142 | + max_attempts: 3 |
| 143 | + timeout_minutes: 30 |
| 144 | + retry_wait_seconds: 60 |
| 145 | + command: docker run -e PYTHON_VERSION='cp312-cp312' --mount type=bind,source=$PWD,target=/opt/aim quay.io/pypa/${{ matrix.manylinux-version }} bash /opt/aim/docker/build-wheels.sh |
106 | 146 |
|
107 | 147 | - name: Publish wheels
|
108 | 148 | env:
|
@@ -130,7 +170,7 @@ jobs:
|
130 | 170 | strategy:
|
131 | 171 | fail-fast: false
|
132 | 172 | matrix:
|
133 |
| - python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ] |
| 173 | + python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ] |
134 | 174 | arch: ['arm64', 'x86_64']
|
135 | 175 | exclude:
|
136 | 176 | - arch: 'arm64'
|
|
0 commit comments