Extract weighted quantile cut fixes from #12129 #3789
Workflow file for this run
This file contains hidden or 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
| name: Windows | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - 'release_*' | |
| pull_request: | |
| permissions: | |
| contents: read # to fetch code (actions/checkout) | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| defaults: | |
| run: | |
| shell: powershell | |
| env: | |
| BRANCH_NAME: >- | |
| ${{ github.event.pull_request.number && 'PR-' }}${{ github.event.pull_request.number || github.ref_name }} | |
| jobs: | |
| build-win64-gpu: | |
| name: Build XGBoost for Windows with CUDA | |
| runs-on: | |
| - runs-on=${{ github.run_id }} | |
| - runner=windows-cpu | |
| - tag=windows-build-win64-gpu | |
| steps: | |
| - uses: actions/[email protected] | |
| with: | |
| submodules: "true" | |
| - uses: dmlc/xgboost-devops/actions/msvc-dev-env@main | |
| - uses: dmlc/xgboost-devops/actions/sccache@main | |
| - run: ops/pipeline/build-win64.ps1 -variant gpu | |
| - run: sccache --show-stats | |
| - name: Stash files | |
| shell: powershell | |
| run: | | |
| conda activate | |
| python ops/pipeline/manage-artifacts.py upload ` | |
| --s3-bucket ${{ env.RUNS_ON_S3_BUCKET_CACHE }} ` | |
| --prefix cache/${{ github.run_id }}/build-win64-gpu ` | |
| build/testxgboost.exe ` | |
| (Get-ChildItem python-package/dist/*.whl | Select-Object -Expand FullName) | |
| build-win64-cpu: | |
| name: Build XGBoost for Windows (minimal) | |
| runs-on: | |
| - runs-on=${{ github.run_id }} | |
| - runner=windows-cpu | |
| - tag=windows-build-win64-cpu | |
| steps: | |
| - uses: actions/[email protected] | |
| with: | |
| submodules: "true" | |
| - uses: dmlc/xgboost-devops/actions/msvc-dev-env@main | |
| - uses: dmlc/xgboost-devops/actions/sccache@main | |
| - run: ops/pipeline/build-win64.ps1 -variant cpu | |
| - run: sccache --show-stats | |
| test-win64-gpu: | |
| name: Test XGBoost on Windows | |
| needs: build-win64-gpu | |
| runs-on: | |
| - runs-on=${{ github.run_id }} | |
| - runner=windows-gpu | |
| - tag=windows-test-win64-gpu | |
| steps: | |
| - uses: actions/[email protected] | |
| with: | |
| submodules: "true" | |
| - name: Unstash files | |
| shell: powershell | |
| run: | | |
| conda activate | |
| python ops/pipeline/manage-artifacts.py download ` | |
| --s3-bucket ${{ env.RUNS_ON_S3_BUCKET_CACHE }} ` | |
| --prefix cache/${{ github.run_id }}/build-win64-gpu ` | |
| --dest-dir build ` | |
| *.whl testxgboost.exe | |
| New-Item -ItemType Directory -Path python-package/dist/ -Force | |
| Move-Item -Path (Get-ChildItem build/*.whl | Select-Object -Expand FullName) ` | |
| -Destination python-package/dist/ | |
| - run: powershell ops/pipeline/test-win64-gpu.ps1 |