|
18 | 18 | runs-on: ubuntu-latest |
19 | 19 | strategy: |
20 | 20 | matrix: |
21 | | - python: ["3.10", "3.11", "3.12", "3.13", "3.14"] |
| 21 | + include: |
| 22 | + - python: "3.10" |
| 23 | + numpy: "2.2" |
| 24 | + - python: "3.11" |
| 25 | + numpy: "2.3" |
| 26 | + - python: "3.12" |
| 27 | + numpy: "2.3" |
| 28 | + - python: "3.13" |
| 29 | + numpy: "2.3" |
| 30 | + - python: "3.14" |
| 31 | + numpy: "2.3" |
22 | 32 | steps: |
23 | 33 | - name: Cancel Previous Runs |
24 | 34 | uses: styfle/cancel-workflow-action@3155a141048f8f89c06b4cdae32e7853e97536bc # 0.13.0 |
@@ -50,17 +60,17 @@ jobs: |
50 | 60 | - name: Install conda-build |
51 | 61 | run: conda install conda-build |
52 | 62 |
|
53 | | - - name: Build conda package |
| 63 | + - name: Build conda package with NumPy 2.x |
54 | 64 | run: | |
55 | | - CHANNELS="-c conda-forge --override-channels" |
56 | | - VERSIONS="--python ${{ matrix.python }}" |
57 | | - TEST="--no-test" |
| 65 | + CHANNELS=(-c conda-forge --override-channels) |
| 66 | + VERSIONS=(--python "${{ matrix.python }}" --numpy "${{ matrix.numpy }}") |
| 67 | + TEST=(--no-test) |
58 | 68 | echo "CONDA_BLD=${CONDA}/conda-bld/linux-64" >> $GITHUB_ENV |
59 | 69 |
|
60 | 70 | conda build \ |
61 | | - $TEST \ |
62 | | - $VERSIONS \ |
63 | | - $CHANNELS \ |
| 71 | + "${TEST[@]}" \ |
| 72 | + "${VERSIONS[@]}" \ |
| 73 | + "${CHANNELS[@]}" \ |
64 | 74 | conda-recipe-cf |
65 | 75 |
|
66 | 76 | - name: Upload artifact |
|
76 | 86 | strategy: |
77 | 87 | matrix: |
78 | 88 | python: ["3.10", "3.11", "3.12", "3.13", "3.14"] |
| 89 | + numpy: ['numpy">2"'] |
79 | 90 | experimental: [false] |
80 | 91 | runner: [ubuntu-latest] |
81 | 92 | continue-on-error: ${{ matrix.experimental }} |
@@ -146,7 +157,17 @@ jobs: |
146 | 157 |
|
147 | 158 | strategy: |
148 | 159 | matrix: |
149 | | - python: ["3.10", "3.11", "3.12", "3.13", "3.14"] |
| 160 | + include: |
| 161 | + - python: "3.10" |
| 162 | + numpy: "2.2" |
| 163 | + - python: "3.11" |
| 164 | + numpy: "2.3" |
| 165 | + - python: "3.12" |
| 166 | + numpy: "2.3" |
| 167 | + - python: "3.13" |
| 168 | + numpy: "2.3" |
| 169 | + - python: "3.14" |
| 170 | + numpy: "2.3" |
150 | 171 | env: |
151 | 172 | conda-bld: C:\Miniconda\conda-bld\win-64\ |
152 | 173 | steps: |
@@ -210,6 +231,7 @@ jobs: |
210 | 231 | strategy: |
211 | 232 | matrix: |
212 | 233 | python: ["3.10", "3.11", "3.12", "3.13", "3.14"] |
| 234 | + numpy: ['numpy">2"'] |
213 | 235 | experimental: [false] |
214 | 236 | runner: [windows-latest] |
215 | 237 | continue-on-error: ${{ matrix.experimental }} |
|
0 commit comments