Skip to content

Commit 8b5d74a

Browse files
committed
Build and test conda packages and wheels for Intel Python CI
Adds what Intel Python CI (gh-ci) needs: a ci/ directory and .github/workflows/intel-ci.yml. The workflow builds conda-recipe/ with conda-build and the wheels with cibuildwheel, for every platform and Python version the recipe and pyproject.toml declare, and tests each package in a clean environment with ci/test.py. Intel's Jenkins tests them again, scans them, runs ci/benchmark.py on the newest Linux package, and publishes a release tag's tested packages as its GitHub Release. conda-recipe/ is now the only recipe, the conda-forge one that was conda-recipe-cf/; the Intel-channel recipe and conda-package.yml are removed. conda-package-cf.yml reports the same check names. conda_build_config.yaml now lists the Python versions, and numpy: '2', as conda-build otherwise defaults to 1.26. The wheels' run-time requirement on mkl comes from [tool.gh-ci] wheel-requires in pyproject.toml, which ci/build.py adds to each wheel: in [project] it would fail the recipe's pip check, as conda-forge's mkl has no pip metadata.
1 parent 2691015 commit 8b5d74a

22 files changed

Lines changed: 1866 additions & 563 deletions

‎.github/workflows/conda-package-cf.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
"${TEST[@]}" \
8585
"${VERSIONS[@]}" \
8686
"${CHANNELS[@]}" \
87-
conda-recipe-cf
87+
conda-recipe
8888
8989
- name: Upload artifact
9090
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
@@ -165,7 +165,7 @@ jobs:
165165
conda list -n base
166166
167167
- name: Build conda package
168-
run: conda build --no-test --python "${{ matrix.python_spec || matrix.python }}" --numpy ${{ matrix.numpy }} -c conda-forge --override-channels conda-recipe-cf
168+
run: conda build --no-test --python "${{ matrix.python_spec || matrix.python }}" --numpy ${{ matrix.numpy }} -c conda-forge --override-channels conda-recipe
169169

170170
- name: Upload artifact
171171
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
@@ -442,7 +442,7 @@ jobs:
442442
"${TEST[@]}" \
443443
"${VERSIONS[@]}" \
444444
"${CHANNELS[@]}" \
445-
conda-recipe-cf
445+
conda-recipe
446446
447447
- name: Upload artifact
448448
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2

0 commit comments

Comments
 (0)