Cache dependencies on Github Action. (#5928)
This commit is contained in:
parent
4af857f95d
commit
fbfbd525d8
14
.github/workflows/main.yml
vendored
14
.github/workflows/main.yml
vendored
@ -25,6 +25,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: 1.8
|
java-version: 1.8
|
||||||
|
|
||||||
|
- name: Cache Maven packages
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: ~/.m2
|
||||||
|
key: ${{ runner.os }}-m2-${{ hashFiles('./jvm-packages/pom.xml') }}
|
||||||
|
restore-keys: ${{ runner.os }}-m2
|
||||||
|
|
||||||
- name: Test JVM packages
|
- name: Test JVM packages
|
||||||
run: |
|
run: |
|
||||||
cd jvm-packages
|
cd jvm-packages
|
||||||
@ -61,6 +68,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
r-version: ${{ matrix.config.r }}
|
r-version: ${{ matrix.config.r }}
|
||||||
|
|
||||||
|
- name: Cache R packages
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: ${{ env.R_LIBS_USER }}
|
||||||
|
key: ${{ runner.os }}-r-${{ matrix.config.r }}-1-${{ hashFiles('R-package/DESCRIPTION') }}
|
||||||
|
restore-keys: ${{ runner.os }}-r-${{ matrix.config.r }}-2-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
shell: Rscript {0}
|
shell: Rscript {0}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@ -31,9 +31,9 @@ Authors@R: c(
|
|||||||
)
|
)
|
||||||
Description: Extreme Gradient Boosting, which is an efficient implementation
|
Description: Extreme Gradient Boosting, which is an efficient implementation
|
||||||
of the gradient boosting framework from Chen & Guestrin (2016) <doi:10.1145/2939672.2939785>.
|
of the gradient boosting framework from Chen & Guestrin (2016) <doi:10.1145/2939672.2939785>.
|
||||||
This package is its R interface. The package includes efficient linear
|
This package is its R interface. The package includes efficient linear
|
||||||
model solver and tree learning algorithms. The package can automatically
|
model solver and tree learning algorithms. The package can automatically
|
||||||
do parallel computation on a single machine which could be more than 10
|
do parallel computation on a single machine which could be more than 10
|
||||||
times faster than existing gradient boosting packages. It supports
|
times faster than existing gradient boosting packages. It supports
|
||||||
various objective functions, including regression, classification and ranking.
|
various objective functions, including regression, classification and ranking.
|
||||||
The package is made to be extensible, so that users are also allowed to define
|
The package is made to be extensible, so that users are also allowed to define
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user