Skip to content

Commit

Permalink
Build R-package with appveyor
Browse files Browse the repository at this point in the history
ref:bc53363ba4a86edd1be3c4d9cce8265494337ba3
  • Loading branch information
exprmntr committed Jan 29, 2018
1 parent cd7e6df commit b503fc5
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions .appveyor.yml
Expand Up @@ -62,4 +62,5 @@ build_script:
if "%target%"=="exe" call ci\appveyor\build_apps.cmd
if "%target%"=="whl" call ci\appveyor\build_whls.cmd
if "%target%"=="R" call ci\appveyor\build_r.cmd
21 changes: 21 additions & 0 deletions ci/appveyor/build_r.cmd
@@ -0,0 +1,21 @@
./ya make -r -T -o . .\catboost\R-package\src\
cd catboost\R-package
mkdir catboost
cp DESCRIPTION catboost
cp NAMESPACE catboost
cp README.md catboost

cp -r R catboost
cp -r inst catboost
cp -r man catboost
cp -r tests catboost

mkdir catboost\inst\libs
mkdir catboost\inst\libs\x64
cp src\libcatboostr.dll catboost\inst\libs\x64

7z -ttar a dummy catboost -so | 7z -si -tgzip a catboost-R-Windows.tgz

cd ..\..
dir catboost\R-package
python ci\webdav_upload.py catboost\R-package\catboost-R-Windows.tgz

0 comments on commit b503fc5

Please sign in to comment.