8000 CI Only build wheels on main repo (#19026) · glemaitre/scikit-learn@bc08b63 · GitHub
[go: up one dir, main page]

Skip to content

Commit bc08b63

Browse files
thomasjpfanglemaitre
authored andcommitted
CI Only build wheels on main repo (scikit-learn#19026)
1 parent 505a419 commit bc08b63

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/wheels.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
check_build_trigger:
2323
name: Check build trigger
2424
runs-on: ubuntu-latest
25+
if: github.repository == 'scikit-learn/scikit-learn'
2526
outputs:
2627
build: ${{ steps.check_build_trigger.outputs.build }}
2728

@@ -86,7 +87,7 @@ jobs:
8687
SKLEARN_SKIP_NETWORK_TESTS=1
8788
SKLEARN_BUILD_PARALLEL=3
8889
CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform_id }}
89-
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: bash build_tools/github/repair_windows_wheels.sh {wheel} {dest_dir} ${{ matrix.bitness }}
90+
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: bash build_tools/github/repair_windows_wheels.sh {wheel} {dest_dir} ${{ matrix.bitness }}
9091
CIBW_BEFORE_TEST_WINDOWS: bash build_tools/github/build_minimal_windows_image.sh ${{ matrix.python }} ${{ matrix.bitness }}
9192
CIBW_TEST_REQUIRES: pytest pandas threadpoolctl
9293
CIBW_TEST_COMMAND: bash {project}/build_tools/github/test_wheels.sh

0 commit comments

Comments
 (0)
0