Skip to content
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

Update the federated branch. #10409

Merged
merged 133 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
d24df52
[pyspark] rework the log (#10077)
wbo4958 Feb 29, 2024
8189126
Add CUDA iterator to tensor view. (#10074)
trivialfis Mar 1, 2024
3941b31
Disable column sample by node for the exact tree method. (#10083)
trivialfis Mar 1, 2024
2c12b95
[R] Refactor callback structure and attributes (#9957)
david-cortes Mar 1, 2024
7a61216
[sycl] add partitioning and related tests (#10080)
razdoburdin Mar 1, 2024
d07b7fe
Small cleanup for mock tests. (#10085)
trivialfis Mar 4, 2024
23a37dc
[CI] Test R package with CMake (#10087)
hcho3 Mar 4, 2024
bc51619
[CI] Cancel GH Action job if a newer commit is published (#10088)
hcho3 Mar 5, 2024
e14c3b9
Optional normalization for learning to rank. (#10094)
trivialfis Mar 8, 2024
2c13f90
Support graphviz plot for multi-target tree. (#10093)
trivialfis Mar 8, 2024
b023a25
[R] Rename `watchlist` -> `evals` (#10032)
david-cortes Mar 9, 2024
06c9702
[doc] Fix the default value for `lambdarank_pair_method`. (#10098)
trivialfis Mar 11, 2024
1450aeb
Fix pairwise objective with NDCG metric along with custom gain. (#10100)
trivialfis Mar 11, 2024
e0f890b
[R] deprecate watchlist (#10110)
mayer79 Mar 13, 2024
617970a
[SYCL] Add split evaluation (#10119)
razdoburdin Mar 14, 2024
56b1868
Fix compilation with the latest ctk. (#10123)
trivialfis Mar 15, 2024
53fc175
Use `std::uint64_t` for row index. (#10120)
trivialfis Mar 15, 2024
ca4801f
Work with IPv6 in the new tracker. (#10125)
trivialfis Mar 19, 2024
2b2aac8
[CI] Update scorecard actions. (#10133)
trivialfis Mar 20, 2024
e169577
[CI] Fix yml in github action. (#10134)
trivialfis Mar 20, 2024
6a7c6a8
add sycl reaslisation of ghist builder (#10138)
razdoburdin Mar 23, 2024
230010d
Cleanup set info. (#10139)
trivialfis Mar 26, 2024
8bad677
Update collective implementation. (#10152)
trivialfis Mar 30, 2024
bc9ea62
[R] Make `xgb.cv` work with `xgb.DMatrix` only, adding support for su…
david-cortes Mar 31, 2024
e15d61b
docs: fix bug in tutorial (#10143)
fabfabi Apr 1, 2024
a99bb38
Bump org.apache.maven.plugins:maven-gpg-plugin from 3.1.0 to 3.2.2 in…
dependabot[bot] Apr 3, 2024
f0a138f
Fix pyspark with verbosity=3. (#10172)
trivialfis Apr 9, 2024
1022909
Fix global config for external memory. (#10173)
trivialfis Apr 10, 2024
732e27c
[doc] Update python3statement URL (#10179)
tqa236 Apr 12, 2024
882f413
[CI] Update create-pull-request action
hcho3 Apr 13, 2024
6e5c335
[SYCL] Add basic features for QuantileHistMaker (#10174)
razdoburdin Apr 15, 2024
2925ceb
[CI] Use latest RAPIDS; Pandas 2.0 compatibility fix (#10175)
github-actions[bot] Apr 15, 2024
9e354fb
docs: update Ruby package link (#10182)
erictleung Apr 16, 2024
3d1d97c
[CI] Reduce clutter from dependabot (#10187)
hcho3 Apr 17, 2024
32be466
[jvm-packages] Ombinus patch to update all minor dependencies (#10188)
hcho3 Apr 17, 2024
7c0c967
Bump org.apache.maven.plugins:maven-jar-plugin (#10191)
dependabot[bot] Apr 17, 2024
4b10200
[coll] Improve event loop. (#10199)
trivialfis Apr 17, 2024
f53f5ca
[CI] Update machine images (#10201)
hcho3 Apr 18, 2024
0aa2600
Bump org.apache.maven.plugins:maven-jar-plugin (#10202)
dependabot[bot] Apr 18, 2024
303c603
[pyspark] Reuse the collective communicator. (#10198)
trivialfis Apr 18, 2024
531ff21
Bump org.scala-lang.modules:scala-collection-compat_2.12 (#10193)
dependabot[bot] Apr 18, 2024
551fa6e
Bump scalatest.version from 3.2.17 to 3.2.18 in /jvm-packages/xgboost…
dependabot[bot] Apr 18, 2024
3f64b4f
[coll] Add global functions. (#10203)
trivialfis Apr 18, 2024
bb212bf
Bump org.apache.flink:flink-clients in /jvm-packages (#10197)
dependabot[bot] Apr 18, 2024
8fb05c8
[pyspark] support stage-level for yarn/k8s (#10209)
wbo4958 Apr 19, 2024
3fbb221
[coll] Implement shutdown for tracker and comm. (#10208)
trivialfis Apr 19, 2024
59d7b8d
[doc] Add typing to dask demos. (#10207)
trivialfis Apr 22, 2024
58513dc
[SYCL] Add sampling initialization (#10216)
razdoburdin Apr 24, 2024
a81b78e
[CI] Test new setup-r. (#10228)
trivialfis Apr 26, 2024
edb945d
[CI] Use native arm64 worker in GHAction to build M1 wheel (#10225)
hcho3 Apr 26, 2024
8ed85b8
Bump hadoop.version from 3.3.6 to 3.4.0 in /jvm-packages/xgboost4j (#…
dependabot[bot] Apr 26, 2024
a5003fc
Bump net.alchim31.maven:scala-maven-plugin in /jvm-packages/xgboost4j…
dependabot[bot] Apr 26, 2024
4d69ce9
Bump org.apache.maven.plugins:maven-jar-plugin (#10210)
dependabot[bot] Apr 26, 2024
f355418
Bump org.apache.maven.plugins:maven-gpg-plugin (#10211)
dependabot[bot] Apr 26, 2024
54754f2
[pyspark] Sort workers by task ID. (#10220)
trivialfis Apr 28, 2024
f8c3d22
Bump org.apache.spark:spark-mllib_2.12 (#10070)
dependabot[bot] Apr 28, 2024
837d44a
Support more sklearn tags for testing. (#10230)
trivialfis Apr 28, 2024
5e64276
Update nvtx. (#10227)
trivialfis Apr 28, 2024
dcc9639
[sycl] add data initialisation for training (#10222)
razdoburdin May 5, 2024
73afef1
Fixes for numpy 2.0. (#10252)
trivialfis May 6, 2024
8237920
[jvm-packagaes] Freeze spark to 3.4.1 for now. (#10253)
trivialfis May 7, 2024
9b46505
[jvm-packages] fix group col for gpu packages (#10254)
wbo4958 May 8, 2024
f588252
[sycl] add loss guided hist building (#10251)
razdoburdin May 10, 2024
5de5743
Be more lenient on floating point error for AUC. (#10264)
trivialfis May 11, 2024
5e816e6
[CI] Upgrade setup-r. (#10267)
trivialfis May 11, 2024
d81e319
Fixes for the latest pandas. (#10266)
trivialfis May 12, 2024
75fe2ff
Keep GitHub Actions up to date with Dependabot (#10268)
cclauss May 13, 2024
871fabe
[doc][dask] Update notes about k8s. (#10271)
trivialfis May 13, 2024
f1f69ff
[CI] Fixes for using the latest modin. (#10285)
trivialfis May 14, 2024
ca1d04b
Release data in cache. (#10286)
trivialfis May 14, 2024
ee2afb3
Adopt new logo (#10270)
hcho3 May 14, 2024
835e59e
Use a thread pool for external memory. (#10288)
trivialfis May 16, 2024
ba9b4cb
Fix pylint. (#10296)
trivialfis May 17, 2024
a5a5810
Revamp the rabit implementation. (#10112)
trivialfis May 20, 2024
d5c9ef6
Bump conda-incubator/setup-miniconda from 2.1.1 to 3.0.4 (#10278)
dependabot[bot] May 21, 2024
e7f8f40
Bump ossf/scorecard-action from 2.3.1 to 2.3.3 (#10280)
dependabot[bot] May 21, 2024
841867e
Bump actions/checkout from 2 to 4 (#10274)
dependabot[bot] May 21, 2024
d66b557
Bump commons-logging:commons-logging in /jvm-packages/xgboost4j (#10294)
dependabot[bot] May 21, 2024
7a54ca4
[CI] Bump checkout action version. (#10305)
trivialfis May 21, 2024
c7e7ce7
[SYCL] Add nodes initialisation (#10269)
razdoburdin May 21, 2024
6a43a4b
Bump mamba-org/provision-with-micromamba from 14 to 16 (#10275)
dependabot[bot] May 22, 2024
1b25d23
[JVM-packages] Prevent memory leak. (#10307)
trivialfis May 22, 2024
e56ca69
Bump dorny/paths-filter from 2 to 3 (#10276)
dependabot[bot] May 22, 2024
b8a7773
Bump org.apache.maven.plugins:maven-deploy-plugin (#10235)
dependabot[bot] May 22, 2024
d5fcbee
Add timeout for distributed tests. (#10315)
trivialfis May 23, 2024
966dc81
[coll] Keep the tracker alive during initialization error. (#10306)
trivialfis May 23, 2024
932d720
[jvm-packages] refine tracker (#10313)
wbo4958 May 23, 2024
15eb553
[doc] Add a coarse map for XGBoost features to assist development. [s…
trivialfis May 23, 2024
291d417
Bump net.alchim31.maven:scala-maven-plugin in /jvm-packages/xgboost4j…
dependabot[bot] May 23, 2024
5a084fb
Bump org.apache.maven.plugins:maven-jar-plugin in /jvm-packages (#10244)
dependabot[bot] May 23, 2024
089bee0
Bump org.apache.maven.plugins:maven-deploy-plugin (#10240)
dependabot[bot] May 23, 2024
95ba099
Bump org.codehaus.mojo:exec-maven-plugin from 3.2.0 to 3.3.0 in /jvm-…
dependabot[bot] May 23, 2024
5086dec
[R] Reshape predictions for custom eval metric when they are 2D (#10323)
david-cortes May 24, 2024
9def441
[CI] add script to generate meta info and upload to s3 (#10295)
wbo4958 May 24, 2024
0058301
[sycl] optimise hist building (#10311)
razdoburdin May 27, 2024
b200877
[R] Update docs for custom user functions (#10328)
david-cortes May 27, 2024
949f062
[R] Fix incorrect division of classification/ranking objectives (#10327)
david-cortes May 27, 2024
5627af6
[coll] Increase timeout limit. (#10332)
trivialfis May 28, 2024
e20ed8a
Bump org.sonatype.plugins:nexus-staging-maven-plugin (#10335)
dependabot[bot] May 28, 2024
7ae5c97
[CI] Upgrade github workflows to use latest Conda setup action (#10320)
hcho3 May 28, 2024
7354955
Test federated plugin using GitHub action. (#10336)
trivialfis May 28, 2024
2de67f0
[coll] Prevent race during error check. (#10319)
trivialfis May 28, 2024
bc6c993
[doc] Fix typo (#10340)
astariul May 29, 2024
8998733
[R] Rename BIAS -> (Intercept) (#10337)
david-cortes May 30, 2024
324f2d4
Handle float128 generically (#10322)
hcho3 May 30, 2024
0717e88
[doc] Fix typo & format in C API documentation (#10350)
astariul May 30, 2024
e6eefea
[coll] Move the rabit poll helper. (#10349)
trivialfis May 31, 2024
c2e3d4f
[dask] Update dask demo for using the new dask backend. (#10347)
trivialfis May 31, 2024
d2d01d9
Remove unnecessary fetch operations in external memory. (#10342)
trivialfis May 31, 2024
92cba25
Remove reference to R win64 MSVC build. (#10355)
trivialfis Jun 1, 2024
4f48647
Fix typo. (#10353)
trivialfis Jun 1, 2024
8286a19
Bump actions/upload-artifact from 4.3.1 to 4.3.3 (#10366)
dependabot[bot] Jun 1, 2024
6cfc3e1
Bump actions/checkout from 4.1.1 to 4.1.6 (#10369)
dependabot[bot] Jun 2, 2024
1164dc0
Bump actions/setup-python from 5.0.0 to 5.1.0 (#10368)
dependabot[bot] Jun 3, 2024
7f3e92d
Bump the cache github action to 4.0.2. (#10377)
trivialfis Jun 3, 2024
99a7f5b
Bump org.apache.maven.plugins:maven-javadoc-plugin (#10373)
dependabot[bot] Jun 3, 2024
7157b95
Bump org.apache.maven.plugins:maven-javadoc-plugin in /jvm-packages (…
dependabot[bot] Jun 3, 2024
492bb76
Bump org.codehaus.mojo:exec-maven-plugin in /jvm-packages (#10363)
dependabot[bot] Jun 3, 2024
4847f24
Bump com.nvidia:rapids-4-spark_2.12 in /jvm-packages (#10362)
dependabot[bot] Jun 3, 2024
eb6622f
Add Comet Logo to the Readme. (#10380)
sherpan Jun 4, 2024
4057f86
[CI] Add nightly CI job to test against dev version of deps (#10351)
hcho3 Jun 4, 2024
c4ec64d
Fix logo URL [skip ci] (#10382)
hcho3 Jun 4, 2024
0808e50
Sync stream in ellpack format. (#10374)
trivialfis Jun 4, 2024
979e392
Fix warnings in GPU dask tests. (#10358)
trivialfis Jun 4, 2024
43a57c4
Bump development version to 2.2. (#10376)
trivialfis Jun 4, 2024
9b7633c
[CI] Use Python 3.10 to build docs (#10383)
hcho3 Jun 4, 2024
bc7643d
[jvm-packages] Don't cast to float if it's already float (#10386)
wbo4958 Jun 4, 2024
9f6608d
Add python 3.12 classifier. (#10381)
trivialfis Jun 4, 2024
f5815b6
[Doc] Fix deployment for JVM docs (#10385)
hcho3 Jun 5, 2024
c9f5fca
[col] Small cleanup to federated comm. (#10397)
trivialfis Jun 7, 2024
0c44067
[SYCL] Optimize gradients calculations. (#10325)
razdoburdin Jun 8, 2024
36e0b01
Merge branch 'master' into fed-merge-master
trivialfis Jun 11, 2024
24d9eaf
Fixes.
trivialfis Jun 11, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/i386.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
ports:
- 5000:5000
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: 'true'
- name: Set up Docker Buildx
Expand Down
25 changes: 11 additions & 14 deletions .github/workflows/jvm_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,23 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-11]
os: [windows-latest, ubuntu-latest, macos-13]

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: 'true'

- uses: mamba-org/setup-micromamba@422500192359a097648154e8db4e39bdb6c6eed7 # v1.8.1
- uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
with:
micromamba-version: '1.5.6-0'
environment-name: jvm_tests
create-args: >-
python=3.10
awscli
cache-downloads: true
cache-environment: true
init-shell: bash powershell
miniforge-variant: Mambaforge
miniforge-version: latest
activate-environment: jvm_tests
environment-file: tests/ci_build/conda_env/jvm_tests.yml
use-mamba: true

- name: Cache Maven packages
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('./jvm-packages/pom.xml') }}
Expand All @@ -61,7 +58,7 @@ jobs:
id: extract_branch
if: |
(github.ref == 'refs/heads/master' || contains(github.ref, 'refs/heads/release_')) &&
(matrix.os == 'windows-latest' || matrix.os == 'macos-11')
(matrix.os == 'windows-latest' || matrix.os == 'macos-13')

- name: Publish artifact xgboost4j.dll to S3
run: |
Expand All @@ -85,7 +82,7 @@ jobs:
python -m awscli s3 cp libxgboost4j_${{ github.sha }}.dylib s3://xgboost-nightly-builds/${{ steps.extract_branch.outputs.branch }}/libxgboost4j/ --acl public-read --region us-west-2
if: |
(github.ref == 'refs/heads/master' || contains(github.ref, 'refs/heads/release_')) &&
matrix.os == 'macos-11'
matrix.os == 'macos-13'
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID_IAM_S3_UPLOADER }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY_IAM_S3_UPLOADER }}
Expand Down
38 changes: 20 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-11]
os: [macos-12]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: 'true'
- name: Install system packages
Expand All @@ -33,7 +33,7 @@ jobs:
run: |
mkdir build
cd build
cmake .. -DGOOGLE_TEST=ON -DUSE_OPENMP=ON -DUSE_DMLC_GTEST=ON -GNinja -DBUILD_DEPRECATED_CLI=ON
cmake .. -DGOOGLE_TEST=ON -DUSE_OPENMP=ON -DUSE_DMLC_GTEST=ON -GNinja -DBUILD_DEPRECATED_CLI=ON -DUSE_SANITIZER=ON -DENABLED_SANITIZERS=address -DCMAKE_BUILD_TYPE=RelWithDebInfo
ninja -v
- name: Run gtest binary
run: |
Expand All @@ -49,7 +49,7 @@ jobs:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: 'true'
- name: Install system packages
Expand All @@ -76,16 +76,16 @@ jobs:
os: [ubuntu-latest]
python-version: ["3.8"]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: 'true'
- uses: mamba-org/provision-with-micromamba@3c96c0c27676490c63c18bc81f5c51895ac3e0e6 # v16
- uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
with:
cache-downloads: true
cache-env: true
environment-name: linux_sycl_test
miniforge-variant: Mambaforge
miniforge-version: latest
activate-environment: linux_sycl_test
environment-file: tests/ci_build/conda_env/linux_sycl_test.yml

use-mamba: true
- name: Display Conda env
run: |
conda info
Expand Down Expand Up @@ -118,15 +118,16 @@ jobs:
os: ["ubuntu-latest"]
python-version: ["3.8"]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: 'true'
- uses: mamba-org/provision-with-micromamba@3c96c0c27676490c63c18bc81f5c51895ac3e0e6 # v16
- uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
with:
cache-downloads: true
cache-env: true
environment-name: cpp_test
miniforge-variant: Mambaforge
miniforge-version: latest
activate-environment: cpp_test
environment-file: tests/ci_build/conda_env/cpp_test.yml
use-mamba: true
- name: Display Conda env
run: |
conda info
Expand Down Expand Up @@ -155,8 +156,9 @@ jobs:
- name: Build and install XGBoost shared library
run: |
cd build
cmake .. -DBUILD_STATIC_LIB=OFF -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -GNinja
cmake .. -DBUILD_STATIC_LIB=OFF -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -GNinja -DPLUGIN_FEDERATED=ON -DGOOGLE_TEST=ON
ninja -v install
./testxgboost
cd -
- name: Build and run C API demo with shared
run: |
Expand All @@ -175,10 +177,10 @@ jobs:
runs-on: ubuntu-latest
name: Code linting for C++
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: 'true'
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: "3.8"
architecture: 'x64'
Expand Down
69 changes: 37 additions & 32 deletions .github/workflows/python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@ jobs:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: 'true'
- uses: mamba-org/provision-with-micromamba@3c96c0c27676490c63c18bc81f5c51895ac3e0e6 # v16
- uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
with:
cache-downloads: true
cache-env: true
environment-name: python_lint
miniforge-variant: Mambaforge
miniforge-version: latest
activate-environment: python_lint
environment-file: tests/ci_build/conda_env/python_lint.yml
use-mamba: true
- name: Display Conda env
run: |
conda info
Expand All @@ -52,15 +53,16 @@ jobs:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: 'true'
- uses: mamba-org/provision-with-micromamba@3c96c0c27676490c63c18bc81f5c51895ac3e0e6 # v16
- uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
with:
cache-downloads: true
cache-env: true
environment-name: sdist_test
miniforge-variant: Mambaforge
miniforge-version: latest
activate-environment: sdist_test
environment-file: tests/ci_build/conda_env/sdist_test.yml
use-mamba: true
- name: Display Conda env
run: |
conda info
Expand All @@ -81,14 +83,14 @@ jobs:
name: Test installing XGBoost Python source package on ${{ matrix.os }}
strategy:
matrix:
os: [macos-11, windows-latest]
os: [macos-13, windows-latest]
python-version: ["3.8"]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: 'true'
- name: Install osx system dependencies
if: matrix.os == 'macos-11'
if: matrix.os == 'macos-13'
run: |
brew install ninja libomp
- uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
Expand Down Expand Up @@ -119,19 +121,20 @@ jobs:
strategy:
matrix:
config:
- {os: macos-11}
- {os: macos-13}

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: 'true'

- uses: mamba-org/provision-with-micromamba@3c96c0c27676490c63c18bc81f5c51895ac3e0e6 # v16
- uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
with:
cache-downloads: true
cache-env: true
environment-name: macos_test
miniforge-variant: Mambaforge
miniforge-version: latest
activate-environment: macos_cpu_test
environment-file: tests/ci_build/conda_env/macos_cpu_test.yml
use-mamba: true

- name: Display Conda env
run: |
Expand Down Expand Up @@ -174,7 +177,7 @@ jobs:
- {os: windows-latest, python-version: '3.8'}

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: 'true'

Expand Down Expand Up @@ -218,16 +221,17 @@ jobs:
- {os: ubuntu-latest, python-version: "3.8"}

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: 'true'

- uses: mamba-org/provision-with-micromamba@3c96c0c27676490c63c18bc81f5c51895ac3e0e6 # v16
- uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
with:
cache-downloads: true
cache-env: true
environment-name: linux_cpu_test
miniforge-variant: Mambaforge
miniforge-version: latest
activate-environment: linux_cpu_test
environment-file: tests/ci_build/conda_env/linux_cpu_test.yml
use-mamba: true

- name: Display Conda env
run: |
Expand Down Expand Up @@ -270,16 +274,17 @@ jobs:
- {os: ubuntu-latest, python-version: "3.8"}

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: 'true'

- uses: mamba-org/provision-with-micromamba@3c96c0c27676490c63c18bc81f5c51895ac3e0e6 # v16
- uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
with:
cache-downloads: true
cache-env: true
environment-name: linux_sycl_test
miniforge-variant: Mambaforge
miniforge-version: latest
activate-environment: linux_sycl_test
environment-file: tests/ci_build/conda_env/linux_sycl_test.yml
use-mamba: true

- name: Display Conda env
run: |
Expand Down Expand Up @@ -309,12 +314,12 @@ jobs:
os: [ubuntu-latest]

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: 'true'

- name: Set up Python 3.8
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: 3.8

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
- os: macos-14
platform_id: macosx_arm64
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: 'true'
- uses: conda-incubator/setup-miniconda@v3.0.4
- uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
with:
miniforge-variant: Mambaforge
miniforge-version: latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/r_nold.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: |
apt update && apt install libcurl4-openssl-dev libssl-dev libssh2-1-dev libgit2-dev libglpk-dev libxml2-dev libharfbuzz-dev libfribidi-dev git -y

- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: 'true'

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/r_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
RSPM: ${{ matrix.config.rspm }}

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: 'true'

Expand All @@ -34,7 +34,7 @@ jobs:
r-version: ${{ matrix.config.r }}

- name: Cache R packages
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v3.0.11
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-r-${{ matrix.config.r }}-7-${{ hashFiles('R-package/DESCRIPTION') }}
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
sudo apt update
sudo apt install libcurl4-openssl-dev libssl-dev libssh2-1-dev libgit2-dev libglpk-dev libxml2-dev libharfbuzz-dev libfribidi-dev
if: matrix.config.os == 'ubuntu-latest'
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: 'true'

Expand All @@ -78,13 +78,13 @@ jobs:
r-version: ${{ matrix.config.r }}

- name: Cache R packages
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v3.0.11
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-r-${{ matrix.config.r }}-7-${{ hashFiles('R-package/DESCRIPTION') }}
restore-keys: ${{ runner.os }}-r-${{ matrix.config.r }}-7-${{ hashFiles('R-package/DESCRIPTION') }}

- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: "3.8"
architecture: 'x64'
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
run: |
git config --global --add safe.directory "${GITHUB_WORKSPACE}"

- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
submodules: 'true'

Expand Down
Loading
Loading