-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1760 from IntelPython/build-with-numpy-2.0
Build with numpy 2.0
- Loading branch information
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ jobs: | |
|
||
strategy: | ||
matrix: | ||
python: ['3.9', '3.10', '3.11'] | ||
python: ['3.9', '3.10', '3.11', '3.12'] | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -53,8 +53,8 @@ jobs: | |
- name: Build conda package | ||
run: | | ||
# use bootstrap channel to pull NumPy linked with OpenBLAS | ||
CHANNELS="-c dppy/label/bootstrap -c ${{ env.INTEL_CHANNEL }} -c conda-forge --override-channels" | ||
VERSIONS="--python ${{ matrix.python }} --numpy 1.23" | ||
CHANNELS="-c conda-forge --override-channels" | ||
VERSIONS="--python ${{ matrix.python }} --numpy 2.0" | ||
TEST="--no-test" | ||
conda build \ | ||
$TEST \ | ||
|
@@ -77,7 +77,7 @@ jobs: | |
|
||
strategy: | ||
matrix: | ||
python: ['3.9', '3.10', '3.11'] | ||
python: ['3.9', '3.10', '3.11', '3.12'] | ||
env: | ||
conda-bld: C:\Miniconda\conda-bld\win-64\ | ||
steps: | ||
|
@@ -109,7 +109,7 @@ jobs: | |
- name: Build conda package | ||
env: | ||
OVERRIDE_INTEL_IPO: 1 # IPO requires more resources that GH actions VM provides | ||
run: conda build --no-test --python ${{ matrix.python }} -c dppy/label/bootstrap -c ${{ env.INTEL_CHANNEL }} -c conda-forge --override-channels conda-recipe | ||
run: conda build --no-test --python ${{ matrix.python }} --numpy 2.0 -c conda-forge --override-channels conda-recipe | ||
- name: Upload artifact | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -127,7 +127,7 @@ jobs: | |
|
||
strategy: | ||
matrix: | ||
python: ['3.9', '3.10', '3.11'] | ||
python: ['3.9', '3.10', '3.11', '3.12'] | ||
experimental: [false] | ||
runner: [ubuntu-22.04] | ||
continue-on-error: ${{ matrix.experimental }} | ||
|
@@ -220,7 +220,7 @@ jobs: | |
shell: cmd /C CALL {0} | ||
strategy: | ||
matrix: | ||
python: ['3.9', '3.10', '3.11'] | ||
python: ['3.9', '3.10', '3.11', '3.12'] | ||
experimental: [false] | ||
runner: [windows-2019] | ||
continue-on-error: ${{ matrix.experimental }} | ||
|
@@ -350,7 +350,7 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
python: ['3.9', '3.10', '3.11'] | ||
python: ['3.9', '3.10', '3.11', '3.12'] | ||
steps: | ||
- name: Download conda artifact | ||
uses: actions/download-artifact@v4 | ||
|
@@ -386,7 +386,7 @@ jobs: | |
runs-on: windows-2019 | ||
strategy: | ||
matrix: | ||
python: ['3.9', '3.10', '3.11'] | ||
python: ['3.9', '3.10', '3.11', '3.12'] | ||
steps: | ||
- name: Download artifact | ||
uses: actions/download-artifact@v4 | ||
|
@@ -426,7 +426,7 @@ jobs: | |
runs-on: ${{ matrix.runner }} | ||
strategy: | ||
matrix: | ||
python: ['3.10'] | ||
python: ['3.11'] | ||
experimental: [false] | ||
runner: [ubuntu-22.04] | ||
continue-on-error: ${{ matrix.experimental }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters