Skip to content

Commit 30363d9

Browse files
authored
Remove R and JVM from appveyor. (#5922)
1 parent 66cc1e0 commit 30363d9

File tree

1 file changed

+0
-62
lines changed

1 file changed

+0
-62
lines changed

appveyor.yml

Lines changed: 0 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
environment:
2-
R_ARCH: x64
3-
USE_RTOOLS: true
42
matrix:
53
- target: msvc
64
ver: 2015
@@ -12,13 +10,6 @@ environment:
1210
configuration: Release
1311
- target: mingw
1412
generator: "Unix Makefiles"
15-
- target: jvm
16-
- target: rmsvc
17-
ver: 2015
18-
generator: "Visual Studio 14 2015 Win64"
19-
configuration: Release
20-
- target: rmingw
21-
generator: "Unix Makefiles"
2213

2314
#matrix:
2415
# fast_finish: true
@@ -47,18 +38,6 @@ install:
4738
conda install -y numpy scipy pandas matplotlib pytest scikit-learn graphviz python-graphviz hypothesis
4839
)
4940
- set PATH=C:\Miniconda3-x64\Library\bin\graphviz;%PATH%
50-
# R: based on https://github.com/krlmlr/r-appveyor
51-
- ps: |
52-
if($env:target -eq 'rmingw' -or $env:target -eq 'rmsvc') {
53-
#$ErrorActionPreference = "Stop"
54-
Invoke-WebRequest https://raw.githubusercontent.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "$Env:TEMP\appveyor-tool.ps1"
55-
Import-Module "$Env:TEMP\appveyor-tool.ps1"
56-
Bootstrap
57-
$BINARY_DEPS = "c('XML','igraph')"
58-
cmd.exe /c "R.exe -q -e ""install.packages($BINARY_DEPS, repos='$CRAN', type='win.binary')"" 2>&1"
59-
$DEPS = "c('data.table','magrittr','stringi','ggplot2','DiagrammeR','Ckmeans.1d.dp','vcd','testthat','lintr','knitr','rmarkdown')"
60-
cmd.exe /c "R.exe -q -e ""install.packages($DEPS, repos='$CRAN', type='both')"" 2>&1"
61-
}
6241

6342
build_script:
6443
- cd %APPVEYOR_BUILD_FOLDER%
@@ -81,53 +60,12 @@ build_script:
8160
mkdir wheel &&
8261
python setup.py bdist_wheel --universal --plat-name win-amd64 -d wheel
8362
)
84-
# R package: make + mingw standard CRAN packaging (only x64 for now)
85-
- if /i "%target%" == "rmingw" (
86-
make Rbuild &&
87-
ls -l &&
88-
R.exe CMD INSTALL xgboost*.tar.gz
89-
)
90-
# R package: cmake + VC2015
91-
- if /i "%target%" == "rmsvc" (
92-
mkdir build_rmsvc%ver% &&
93-
cd build_rmsvc%ver% &&
94-
cmake .. -G"%generator%" -DCMAKE_CONFIGURATION_TYPES="Release" -DR_LIB=ON &&
95-
cmake --build . --target install --config Release
96-
)
97-
- if /i "%target%" == "jvm" cd jvm-packages && mvn test -pl :xgboost4j_2.12
9863

9964
test_script:
10065
- cd %APPVEYOR_BUILD_FOLDER%
10166
- if /i "%DO_PYTHON%" == "on" python -m pytest tests/python
102-
# mingw R package: run the R check (which includes unit tests), and also keep the built binary package
103-
- if /i "%target%" == "rmingw" (
104-
set _R_CHECK_CRAN_INCOMING_=FALSE&&
105-
set _R_CHECK_FORCE_SUGGESTS_=FALSE&&
106-
R.exe CMD check xgboost*.tar.gz --no-manual --no-build-vignettes --as-cran --install-args=--build
107-
)
108-
# MSVC R package: run only the unit tests
109-
- if /i "%target%" == "rmsvc" (
110-
cd R-package &&
111-
R.exe -q -e "library(testthat); setwd('tests'); source('testthat.R')"
112-
)
113-
114-
on_failure:
115-
# keep the whole output of R check
116-
- if /i "%target%" == "rmingw" (
117-
7z a failure.zip *.Rcheck\* &&
118-
appveyor PushArtifact failure.zip
119-
)
12067

12168
artifacts:
122-
# log from R check
123-
- path: '*.Rcheck\**\*.log'
124-
name: Logs
125-
# source R-package
126-
- path: '\xgboost_*.tar.gz'
127-
name: Bits
128-
# binary R-package
129-
- path: '**\xgboost_*.zip'
130-
name: Bits
13169
# binary Python wheel package
13270
- path: '**\*.whl'
13371
name: Bits

0 commit comments

Comments
 (0)