8000 CI Dynamically select unpack directory by alfaro96 · Pull Request #18957 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

CI Dynamically select unpack directory #18957

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Dec 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ on:
# Manual run
workflow_dispatch:

env:
SCIKIT_LEARN_VERSION: 0.24.dev0

jobs:
# Check whether to build the wheels and the source tarball
check_build_trigger:
Expand Down Expand Up @@ -82,8 +79,7 @@ jobs:
env:
CONFTEST_PATH: ${{ github.workspace }}/conftest.py
CONFTEST_NAME: conftest.py
CIBW_ENVIRONMENT: WHEEL_DIRNAME=scikit_learn-$SCIKIT_LEARN_VERSION
OMP_NUM_THREADS=2
CIBW_ENVIRONMENT: OMP_NUM_THREADS=2
OPENBLAS_NUM_THREADS=2
SKLEARN_SKIP_NETWORK_TESTS=1
SKLEARN_BUILD_PARALLEL=3
Expand Down
1 change: 1 addition & 0 deletions build_tools/github/repair_windows_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ BITNESS=$3
# By default, the Windows wheels are not repaired.
# In this case, we need to vendor VCRUNTIME140.dll
wheel unpack "$WHEEL"
WHEEL_DIRNAME=$(ls -d scikit_learn-*)
python build_tools/github/vendor.py "$WHEEL_DIRNAME" "$BITNESS"
wheel pack "$WHEEL_DIRNAME" -d "$DEST_DIR"
rm -rf "$WHEEL_DIRNAME"
0