|
38 | 38 | needs: [debug_build_ok, zenodo_json] |
39 | 39 | strategy: |
40 | 40 | matrix: |
41 | | - platform: [ubuntu-latest, macos-12, windows-latest] |
42 | | - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] |
| 41 | + include: |
| 42 | + - platform: windows-latest |
| 43 | + python-version: "3.7" |
| 44 | + - platform: windows-latest |
| 45 | + python-version: "3.8" |
| 46 | + - platform: windows-latest |
| 47 | + python-version: "3.9" |
| 48 | + - platform: windows-latest |
| 49 | + python-version: "3.10" |
| 50 | + - platform: windows-latest |
| 51 | + python-version: "3.11" |
| 52 | + - platform: macos-12 |
| 53 | + python-version: "3.7" |
| 54 | + - platform: macos-12 |
| 55 | + python-version: "3.8" |
| 56 | + - platform: macos-12 |
| 57 | + python-version: "3.9" |
| 58 | + - platform: macos-12 |
| 59 | + python-version: "3.10" |
| 60 | + - platform: macos-12 |
| 61 | + python-version: "3.11" |
| 62 | + - manylinux: "manylinux2010_x86_64" |
| 63 | + platform: ubuntu-latest |
| 64 | + python-version: "3.7" |
| 65 | + - manylinux: "manylinux2010_x86_64" |
| 66 | + platform: ubuntu-latest |
| 67 | + python-version: "3.8" |
| 68 | + - manylinux: "manylinux2010_x86_64" |
| 69 | + platform: ubuntu-latest |
| 70 | + python-version: "3.9" |
| 71 | + - manylinux: "manylinux2010_x86_64" |
| 72 | + platform: ubuntu-latest |
| 73 | + python-version: "3.10" |
| 74 | + - manylinux: "manylinux_2_24_x86_64" |
| 75 | + platform: ubuntu-latest |
| 76 | + python-version: "3.7" |
| 77 | + - manylinux: "manylinux_2_24_x86_64" |
| 78 | + platform: ubuntu-latest |
| 79 | + python-version: "3.8" |
| 80 | + - manylinux: "manylinux_2_24_x86_64" |
| 81 | + platform: ubuntu-latest |
| 82 | + python-version: "3.9" |
| 83 | + - manylinux: "manylinux_2_24_x86_64" |
| 84 | + platform: ubuntu-latest |
| 85 | + python-version: "3.10" |
| 86 | + - manylinux: "manylinux_2_24_x86_64" |
| 87 | + platform: ubuntu-latest |
| 88 | + python-version: "3.11" |
43 | 89 | fail-fast: false |
44 | 90 | runs-on: ${{ matrix.platform }} |
45 | 91 | steps: |
@@ -91,14 +137,21 @@ jobs: |
91 | 137 | run: rm dist/* |
92 | 138 |
|
93 | 139 | - if: matrix.platform == 'ubuntu-latest' |
94 | | - run: python -c "import sys; vi=sys.version_info; abitag='m' if vi.minor<8 else ''; print(f'PV=cp{vi.major}{vi.minor}-cp{vi.major}{vi.minor}{abitag}')" >> $GITHUB_ENV |
| 140 | + run: | |
| 141 | + python -c "import sys; vi=sys.version_info; abitag='m' if vi.minor<8 else ''; print(f'PV=cp{vi.major}{vi.minor}-cp{vi.major}{vi.minor}{abitag}')" >> $GITHUB_ENV |
95 | 142 |
|
96 | | - - if: matrix.platform == 'ubuntu-latest' |
97 | | - |
| 143 | + - if: ${{ matrix.platform == 'ubuntu-latest' && matrix.manylinux == 'manylinux2010_x86_64' }} |
| 144 | + uses: RalfG/[email protected]_x86_64 |
| 145 | + with: |
| 146 | + python-versions: ${{ env.PV }} |
| 147 | + build-requirements: 'setuptools_scm' |
| 148 | + pre-build-command: 'git config --global --add safe.directory "*"' |
| 149 | + - if: ${{ matrix.platform == 'ubuntu-latest' && matrix.manylinux == 'manylinux_2_24_x86_64' }} |
| 150 | + uses: RalfG/[email protected]_2_24_x86_64 |
98 | 151 | with: |
99 | | - build-requirements: 'setuptools_scm' |
100 | | - python-versions: ${{ env.PV }} |
101 | | - pre-build-command: 'git config --global --add safe.directory "*"' |
| 152 | + python-versions: ${{ env.PV }} |
| 153 | + build-requirements: 'setuptools_scm' |
| 154 | + pre-build-command: 'git config --global --add safe.directory "*"' |
102 | 155 |
|
103 | 156 | - if: matrix.platform == 'ubuntu-latest' |
104 | 157 | run: rm dist/*-linux_* |
|
0 commit comments