Граф коммитов

375 Коммитов

Автор SHA1 Сообщение Дата
Josh Maxwell 2e1b39ba8c
[R-package] Suppresses unknown pragma warnings during CRAN build (#3460)
* Modified script to also remove pragma warnings.

This also includes modifying the scope of the pragma removal.
Previously this script only searched inside the ./src/include/LightGMB directory.
This was not inclusive enough to remove the warnings in files shown in the ticket.

* Adds CI test that exits if unknown pragma warnings are present.

* Expanding pragma removal to cpp and hpp files.

* Update .ci/test_r_package.sh

Removing unneeded conditions since this script will only run on Linux and Mac builds anyway.

Co-authored-by: James Lamb <jaylamb20@gmail.com>

* Update .ci/test_r_package.sh

Fixes typo

Co-authored-by: James Lamb <jaylamb20@gmail.com>

* replacing double quotes with single quotes

* Using a more portable find syntax so it works on macOS and Linux

Co-authored-by: James Lamb <jaylamb20@gmail.com>
2020-10-16 14:03:06 -05:00
James Lamb 186711deae
[R-package] miscellaneous changes to comply with CRAN requirements (#3338)
* [R-package] update DESCRIPTION per CRAN comments

* newlines

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* more fixes

* update Rbuildignore

* more changes

* more changes per CRAN response

* add email

* run examples in CI

* add newest CRAN response

* add Solaris patch

* update patch

* another attempt at ifaddrs patch

* fix unnecessary comment

* update configure

* comments

* bump version

* tabs

* fix address alignment, required by cran (#3415)

* fix dataset binary file alignment

* many fixes

* fix warnings

* fix bug

* Update file_io.cpp

* Update file_io.cpp

* simplify code

* Apply suggestions from code review

* general

* remove unneeded alignment

* Update file_io.h

* int32 to byte8 alignment

* Apply suggestions from code review

* Apply suggestions from code review

* [R-package] add new copyright holder in DESCRIPTION (#3409)

* [R-package] add new copyright holder in DESCRIPTION

* fix role

* fixing conflicts

* [R-package] add new copyright holder in DESCRIPTION (#3409)

* [R-package] add new copyright holder in DESCRIPTION

* fix role

* trying to fix conflicts

* more fixes

* this will work

* update cran-comments

* simplify solaris, add more testing docs

* stuff

* remove rchck docs

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* remove extra use of cat()

* change solaris check

* update docs

* remove testing code

* fix warning about cleanup not having execute permissions

* fix cmake builds

* remove blank line

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
Co-authored-by: Guolin Ke <guolin.ke@outlook.com>
2020-10-07 21:51:21 -05:00
James Lamb 967a7814a7
[R-package][ci] Make Windows CI fail if R CMD check fails (#3435)
* [R-package] [ci] Make Windows CI fail if R CMD check fails

* restore fix

* catch more errors

* remove testing

* fix processx calls

* try to get status code

* more logs

* trying something

* stuff

* previous changes

* uncomment
2020-10-06 19:49:48 +03:00
James Lamb 2903ca0c9f
[R-package] add 'cleanup' script to handle left-behind Makevars (#3434)
* [R-package] add 'cleanup' script to handle left-behind Makevars

* always install library for checkbashisms
2020-10-04 18:30:54 +03:00
Chip Kerchner f7ad945717
[GPU] Add support for CUDA-based GPU build (#3160)
* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* Initial CUDA work

* redirect log to python console (#3090)

* redir log to python console

* fix pylint

* Apply suggestions from code review

* Update basic.py

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* Update c_api.h

* Apply suggestions from code review

* Apply suggestions from code review

* super-minor: better wording

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
Co-authored-by: StrikerRUS <nekit94-12@hotmail.com>

* re-order includes (fixes #3132) (#3133)

* Revert "re-order includes (fixes #3132) (#3133)" (#3153)

This reverts commit 656d2676c2.

* Missing change from previous rebase

* Minor cleanup and removal of development scripts.

* Only set gpu_use_dp on by default for CUDA. Other minor change.

* Fix python lint indentation problem.

* More python lint issues.

* Big lint cleanup - more to come.

* Another large lint cleanup - more to come.

* Even more lint cleanup.

* Minor cleanup so less differences in code.

* Revert is_use_subset changes

* Another rebase from master to fix recent conflicts.

* More lint.

* Simple code cleanup - add & remove blank lines, revert unneccessary format changes, remove added dead code.

* Removed parameters added for CUDA and various bug fix.

* Yet more lint and unneccessary changes.

* Revert another change.

* Removal of unneccessary code.

* temporary appveyor.yml for building and testing

* Remove return value in ReSize

* Removal of unused variables.

* Code cleanup from reviewers suggestions.

* Removal of FIXME comments and unused defines.

* More reviewers comments cleanup.

* More reviewers comments cleanup.

* More reviewers comments cleanup.

* Fix config variables.

* Attempt to fix check-docs failure

* Update Paramster.rst for num_gpu

* Removing test appveyor.yml

* Add ƒCUDA_RESOLVE_DEVICE_SYMBOLS to libraries to fix linking issue.

* Fixed handling of data elements less than 2K.

* More reviewers comments cleanup.

* Removal of TODO and fix printing of int64_t

* Add cuda change for CI testing and remove cuda from device_type in python.

* Missed one change form previous check-in

* Removal AdditionConfig and fix settings.

* Limit number of GPUs to one for now in CUDA.

* Update Parameters.rst for previous check-in

* Whitespace removal.

* Cleanup unused code.

* Changed uint/ushort/ulong to unsigned int/short/long to help Windows based CUDA compiler work.

* Lint change from previous check-in.

* Changes based on reviewers comments.

* More reviewer comment changes.

* Adding warning for is_sparse. Revert tmp_subset code. Only return FeatureGroupData if not is_multi_val_

* Fix so that CUDA code will compile even if you enable the SCORE_T_USE_DOUBLE define.

* Reviewer comment cleanup.

* Replace warning with Log message. Removal of some of the USE_CUDA. Fix typo and removal of pragma once.

* Remove PRINT debug for CUDA code.

* Allow to use of multiple GPUs for CUDA.

* More multi-GPUs enablement for CUDA.

* More code cleanup based on reviews comments.

* Update docs with latest config changes.

Co-authored-by: Gordon Fossum <fossum@us.ibm.com>
Co-authored-by: ChipKerchner <ckerchne@linux.vnet.ibm.com>
Co-authored-by: Guolin Ke <guolin.ke@outlook.com>
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
Co-authored-by: StrikerRUS <nekit94-12@hotmail.com>
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2020-09-20 13:35:01 +08:00
Nikita Titov 164818b029
[ci] Use Ubuntu Focal image at Travis (#3393)
* Use Ubuntu Focal image at Travis

* test gcc

* test Bionic and gcc

* test Focal with another Python version for GPU test

* revert testing changes

* install linkchecker via pip

* simplify linkchecker config
2020-09-14 17:49:45 +03:00
Nikita Titov 4f0f822ba3
[ci] update Boost version (#3389) 2020-09-13 09:24:13 +03:00
James Lamb f7f4e60257
[ci] host some artifacts needed by R Windows CI jobs (#3359)
* [ci] host some artifacts needed by R Windows CI jobs

* remove link

* host SWIG

Co-authored-by: Guolin Ke <guolin.ke@outlook.com>
2020-09-08 23:48:30 -05:00
James Lamb 0faf874153
[ci] remove Azure checks from R CI (#3355)
* [ci] remove texlive-fonts-extra and Azure checks R from CI

* put texlive-fonts-extra back
2020-09-06 12:13:40 -05:00
James Lamb 0038a66208
[ci] fix R CMD check issue 'unable to verify current time' (#3341) 2020-08-29 09:26:06 -05:00
James Lamb 5538eb8d81
[R-package] [ci] Reduce manual effort for version updates (#3335)
* [R-package] [ci] Reduce manual effort for version updates

* fix configure

* remove useless comment

* Update build_r.R

Co-authored-by: Guolin Ke <guolin.ke@outlook.com>

* fix recreate-configure check in CI

Co-authored-by: Guolin Ke <guolin.ke@outlook.com>
2020-08-25 14:36:37 -05:00
Nikita Titov 0aa4869068
[ci] bump Xcode version at Travis (#3323)
* bump Xcode version at Travis

* remove temp fix for gcc at Travis
2020-08-19 22:02:05 +03:00
James Lamb 8662e36d1b
[ci] Test 32-bit builds for R package (#3311)
* [ci] Test 32-bit builds for R package

* update README

* empty commit
2020-08-17 21:50:33 -05:00
James Lamb 27c9aa88c1
[ci] fix flaky R CMD check test about library size (#3308) 2020-08-15 16:50:37 +08:00
James Lamb 7be57d77f5
[ci][R-package][python] suppress warning about empty 'compute' director, fix Rtools installation and temporary pin Sphinx version (#3277)
* [R-package] suppress warning about empty 'compute' directory

* get more logs from Rtools install

* empty commit

* add a timeout

* trying Invoke-WebRequest instead

* switch to CRAN link

* do not use Start-Process

* relative paths

* trying suppressmessageboxes

* switch strategy for running Rtools

* Update requirements_rtd.txt

* Update requirements_base.txt

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-08-10 02:44:38 +03:00
Guolin Ke 63c8287928
v3.0.0rc1 (#3071)
* Update VERSION.txt

* Update VERSION.txt

* Update setup.py

* Update VERSION.txt

* Update setup.py

* Update VERSION.txt

* Update .appveyor.yml

* Update DESCRIPTION

* Apply suggestions from code review

* Apply suggestions from code review

* Update DESCRIPTION

* Apply suggestions from code review

* Create VERSION.txt

* Apply suggestions from code review

* Update .gitignore

* Update recreate-configure.sh

* Update test_r_package.sh

* Update build-cran-package.sh

* Delete VERSION.txt

* Create VERSION.txt

* Update main.yml

* Update test_r_package_windows.ps1

* Update configure

* Update test_r_package_windows.ps1

* Update test_r_package.sh

* Delete VERSION.txt

* Apply suggestions from code review

* update configure.ac

Co-authored-by: James Lamb <jaylamb20@gmail.com>
2020-08-07 08:11:12 +08:00
Guolin Ke 53c64bac52
[CI] fix R's installation (#3279) 2020-08-06 21:06:00 +08:00
James Lamb c454d5f8cc
[R-package] move all examples to dontrun() to fix R CMD CHECK notes (#3270)
* Move all examples to dontrun

* update docs

* fix nested dontrun

* remove :: in examples

* run_dontrun in pkgdown

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-08-05 20:53:11 -05:00
James Lamb aa933eb427
[R-package] make package installable with CRAN toolchain (fixes #2960) (#3188)
* [R-package] make package installable with CRAN toolchain (fixes #2960)

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* remove GPU stuff

* use wildcard to find objects to build

* use -lomp

* build configure before moving files

* using wildcard for objects

* Update .github/workflows/main.yml

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* add explicit objects back

* reduce allowed R CMD check NOTEs and catch stderr from build-cran-package on Windows

* fixing things

* pin autoconf version

* show diff

* add automake back

* run less checks

* command was in the wrong place

* fix autoconf version

* change strategy for handling configure

* fix Rbuildignore

* fix NOTEs

* fix notes about unrecognized files

* fixing extra files

* remove USE_R35

* add OpenMP check for Mac CRAN build

* run all checks

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* suggestions from code review

* undo indenting

* remove 03 from Makevars.win.in

* update language about OpenMP in configure script

* checking if configure.ac check works

* add autoconf back

* remove testing code in configure.ac

* more fixes for CI on configure script

* print git diff

* add VERSION.txt when checking configure

* fix relative paths

* remove git diff

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-07-28 21:05:59 -05:00
Nikita Titov 2c742d572e
[ci] partly remove macOS temp CI fix (#3251) 2020-07-24 17:40:44 +03:00
James Lamb f257636d01
[ci] remove unnecessary R_CHECK_FORCE_SUGGESTS in CI scripts (#3240)
* [ci] remove unnecessary R_CHECK_FORCE_SUGGESTS in CI scripts

* remove unused test data
2020-07-20 20:12:10 +03:00
James Lamb 9f52282d0b
[R-package] factor out {ggplot2} (#3224)
* more changes

* factor out ggplot2

* update CI

* remove library()

* linting

* reduce NOTEs on Windows
2020-07-20 20:31:20 +08:00
Nikita Titov 4b74139ad9
[ci] bump R 4 version (#3225) 2020-07-13 17:22:16 +03:00
James Lamb d8bc0fc7e5
[ci][docs][R-package] catch builds that have not updated docs (#3205)
* [ci] [R-package] catch builds that have not updated docs

* drop reliance on .Renviron

* remove docs changes

* Update .ci/test_r_package.sh

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* make all R tasks start with r-package

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-07-06 00:32:37 +03:00
Nikita Titov bf01f53a01
[ci] bump gcc version for macOS (#3208)
* update gcc version

* Update setup.sh

* fix GitHub Actions
2020-07-05 15:30:49 -05:00
James Lamb 314b9d2467
[R-package] [ci] Fix MiKTeX downloads (fixes #3198) (#3199)
* [R-package] [ci] Fix MiKTeX downloads (fixes #3198)

* use v2
2020-07-01 19:28:02 +03:00
James Lamb 068a67d8e4
[R-package][ci] update to R 4.0.2 for Windows CI jobs (fixes #3191) (#3193)
* first attempt

* update to R 4.0.2

* no duplicate builds

* [R-package] [ci] update to R 4.0.2 for Windows CI jobs (fixes #3191)
2020-06-27 15:40:45 +03:00
James Lamb be85f56ffc
[R-package] fix R CMD check NOTE about leftover files (#3181)
* [R-package] fix R CMD check NOTE about leftover files

* update number of allowed notes
2020-06-23 09:01:02 -05:00
Nikita Titov b6ec745892
[ci] update Boost version (#3175) 2020-06-22 23:37:39 +03:00
James Lamb 8696a490de
[ci] Move R Windows CI to GitHub Actions (#3168)
* [ci] Move R Windows CI to GitHub Actions

* fix OS filter

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* remove trailing semicolon

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-06-21 20:08:58 -05:00
James Lamb e83042f206
[R-package] Add support for R 4.0 (fixes #3064, fixes #3024) (#3065)
* [R-package] replaced gendef.exe with R code to create R.def (fixes #3064)

* fix broken things

* trying to add R4.0 docs

* changed make

* fixing make paths

* update notes on environment variables

* fix linting

* fixes to CI

* fixing build_cmd and other stuff

* fix bad substitution

* fix Azure Linux builds

* I am bad at bash

* simplifying

* only testing R

* getting better logs

* mingw32

* docs

* toolchain

* using msys

* fix visual studio condition

* toolchain test

* full CI

* fix if-elses

* bump allowed NOTEs

* search for Rscript

* updates to docs

* use processx

* fix mismatched arguments

* move CI to GitHub Actions

* minor changes

* fix workflow file

* fix templating

* fix Azure DevOps

* debugging windows builds

* dont shQuote file name

* all GitHub Actions jobs

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* minor cleanup

* remove objdump printing

* make file.remove() invisible

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* reduce duplicated paths in docs

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-06-14 08:56:34 +08:00
Nikita Titov e706bec7da
[ci] avoid VS warning for R builds (#3162) 2020-06-12 00:44:43 +03:00
James Lamb 075513fa27
[ci] make MiKTeX downloads more reliable (#3124)
* [ci] make MiKTeX downloads more reliable

* switch to Powershell

* remove  extra slash

* fixing stuff

* revert install change

* Update .ci/test_r_package_windows.ps1

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-06-01 22:34:53 -05:00
James Lamb bcbf2527ca
[ci] use GitHub Actions for R CI jobs (fixes #2353) (#3119)
* GitHub Actions

* ok

* fixing on list

* stuff

* directories

* directories

* things

* env variables

* working dir

* running a bunch of tasks

* more builds

* PATH

* actually use R task

* TASK

* be right, often

* doing stuff

* trying stuff

* more paths

* conda activate

* updating PATH

* trying bash

* where the hell is activate

* WHERE IS ACTIVATE

* set up conda

* more conda

* PLEASE WORK

* installing cpplint

* try r-package

* R version

* try windows job

* make windows work

* use powershell

* exe

* use conda

* conda init powershell

* different conda approach

* make it work

* cleaning up

* init powershell

* fixing windows

* more windows

* build directory

* no way right

* maybe it will work

* trying Visual Studio

* do this

* Windows is interesting

* put back check-output

* set compiler

* stuff

* more fixes

* fix the broken things

* updating jobs

* continuing

* poweshell is bad

* ok so maybe not powershell

* cmon now

* ok so

* fixing env variables

* maybe this

* MINGW job

* cleaning up

* conda init powershell

* moving more R stuff into GitHub Actions

* everything else

* use powershell

* cmon now powershell

* ttry to Continue

* override powershell

* peg MiKTeX URL

* what is happening

* try powershell -File

* trying stuff

* path

* more testing of output

* Matches uppercase

* more regex stuff

* this is getting ridiculous

* back to powershell I guess

* more commands

* this might work

* adding more reliable miktex download

* trying to download miktex

* installing httr

* fix error in MiKTeX script

* remove comments

* redirect output

* redirect output

* move linting back to Travis

* change redirection

* switch back to just mac and linux

* put linting exclude back

* renamed R_TRAVIS_LINUX

* revert changes to non-R tasks and update events

* simplify
2020-06-01 17:53:39 -05:00
James Lamb 4d43e96bbc
[R-package] move R source files into R-package, reduce duplication in build_r.R (#3087)
* [R-package] move R source files into R-package

* fix linting warning

* stuff
2020-05-24 21:23:38 -05:00
James Lamb f962744dc8
[ci] fix add-apt-repository warning (#3104) 2020-05-20 21:06:43 +03:00
James Lamb 58a482f4dc
[R-package] [ci] Fix CI timeouts for Mac builds on Travis (fixes #3091) (#3092)
* [R-package] use processx to speed up builds

* different fix

* echoing more frequently

* fix it

* more stdout

* use print() instead of message()

* shell tricks

* fix message

* travis

* Update .ci/test_r_package.sh

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-05-16 12:28:36 -05:00
James Lamb 3caf359a79
[R-package] speed up installation with Visual Studio (#2965)
* fix conflicts

* Update R-package/src/install.libs.R

* empty commit
2020-05-14 19:31:13 +03:00
Belinda Trotta e50a9151ed
Path smoothing (#2950)
* Path smoothing

* Try to fix issue with gpu version.

* Fix failing CI for R package.

* Minor fixes.

* Minor refactor.

* Restore old code to get CI working.

* Fix style issues.

* Fix ci for R package.

* Minor fixes for docs and code style.

* Update docs.
2020-05-03 13:53:15 +08:00
James Lamb 2c18a0f3ed
[R-package] [ci] Add Windows CI for R package (fixes #2335) (#2936)
* first test of appveyor

* strings are strings

* lil bit of build script

* fixing paths

* removed unnecessary file

* updated CRAN URL

* added a lot more printing

* fixing paths

* more stuff

* fixed paths

* more stuff

* more path guessing

* even more paths

* more stuff

* moar logz

* and now for something totally different

* please work

* ok could be a thing

* changing directories

* we might be in business

* fixed install syntax

* tryinv mingw

* more mingw

* ignore Suggests check

* trying Azure DevOps

* just run bare minimum for Azure DevOps

* fixed  build dir thing

* trying to set libPaths

* more testing

* trying R 3.6.3

* R 3.6.3

* this feels right

* still messing around with libraries

* more paths

* removed duplication in Windows testing code

* simpler

* fixed conda stuff

* more conda stuff

* more fixes

* fixed testing script

* moved AppVeyor setup to the top

* commenting

* ch-ch-ch-ch-chaaaanges

* paths

* plz work

* fixed conda stuff in Windows CI

* uncommented stuff to test a full build

* fixed quotes and removed some unnecessary stuff

* added install.libs.R change

* quotes are impoortant

* added commented-out stuff back in

* added Windows script, download retries, and MSVC linking

* minor fixes

* cleaned up debugging code in FindLibR

* cleaned up debugging code and moved R first in CI

* fixed vsts-ci indentation

* cut documentation stuff out of MSVC build

* fix R CMD check for Azure

* misc whitespace changes

* Added echoing of build logs from R CMD check

* cut out more documentation tests

* fixed NOTE about imports from Matrix

* moved some changes out of this PR and into #2963

* fixed whitespace stuff

* added check on number of NOTES

* adding better checks

* fixing check on NOTEs

* removing unnecessary variable

* Update .ci/test_r_package_windows.ps1

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* some changes

* fix quoting

* trying MINGW on Azure DevOps

* fixing paths

* more paths

* fixing paths

* testing paths

* fixing slashes

* pinned CTAN mirror

* get better logs

* made sure Azure finds MinGW, fixed search for LIBR_CORE_LIBRARY, stopped building R docs on Azure

* Apply suggestions from code review

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* added CXX, CC for Windows builds and changed back to building docs on all MINGW builds

* stored LIBR_CORE_LIBRARY hints in one variable

* Apply suggestions from code review

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* changes from code review

* increased parallel builds for Azure CI

* Apply suggestions from code review

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-04-26 16:05:45 -05:00
Nikita Titov 7b3350176d
minor CI scripts update (#3019) 2020-04-23 22:13:28 -05:00
James Lamb 02a0089fc1
[ci] added echoing of R CMD check logs to CI (#3009) 2020-04-22 22:35:56 -05:00
James Lamb 9843506e63
[ci] Changed use of strcpy to snprintf (fixes #1990) (#2973)
* [ci] Changed use of strcpy to snprintf

* fix

* fully enable cpplint
2020-04-16 03:52:45 +01:00
Nikita Titov be591c84f5
[ci] fixed r-lintr version constraint (#2990)
* Update test.sh

* update brew to pull new URL for basictex
2020-04-14 00:13:09 +03:00
Nikita Titov c633c6c2af
[python] Re-enable scikit-learn 0.22+ support (#2949)
* Revert "specify the last supported version of scikit-learn (#2637)"

This reverts commit d100277649.

* ban scikit-learn 0.22.0 and skip broken test

* fix updated test

* fix lint test

* Revert "fix lint test"

This reverts commit 8b4db0805f.
2020-04-10 12:53:21 +09:00
Nikita Titov ce08242567
[ci][docs] downdrage sphinx and fix LaTeX error in R-package tests (#2977)
* downdrage sphinx

* fix latex errors

* Revert "fix latex errors"

This reverts commit 3cdf64748e.

* skip checksum verification
2020-04-07 16:24:09 +03:00
James Lamb 2d4f3909e8
[ci] reduce duplication in Python Windows CI (#2962)
* [ci] reduced duplication in Python Windows CI

* fixed typo

* reorganized

* fixed task name

* Update .ci/test_windows.ps1

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* changes from code review

* added conda init powershell back

* Update .ci/test_windows.ps1

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* Switched to absolute paths

* fixed env variables

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-04-01 20:38:34 +03:00
James Lamb 84bdf25798
[R-package] adding routine registration in R package (fixes #1910) (#2911) 2020-04-01 11:18:52 -05:00
James Lamb dbc3d05c9c
[R-package] [ci] Add option to skip installation in build_r.R (#2957)
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-03-30 23:01:29 -05:00
James Lamb 03ce02aa2c
[ci] changed CRAN mirror to fix failing installs (#2954) 2020-03-27 21:57:21 -05:00
James Lamb c870c57a14
added check on number of R CMD CHECK notes (#2942) 2020-03-25 17:00:19 -05:00
James Lamb d42f43132d
[R-package] [ci] added more linters (#2803)
* [R-package] [ci] added more linters

* Update R-package/tests/testthat/test_parameters.R

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* added cbind() to undesirable_function_linter

* fixed linting

* Update .ci/lint_r_code.R

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-03-17 23:33:29 +03:00
Nikita Titov 676b288d91
[ci] fix R tests for macOS on Azure Pipelines (#2856)
* Update setup.sh

* install only binary R packages on macOS
2020-03-03 15:30:47 +03:00
Guolin Ke 8d90bbe314
Debug flags (#2825)
* add debug mode in camke

* add debug dll

* Apply suggestions from code review

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* fix naming

* Apply suggestions from code review

* Apply suggestions from code review

* Update LightGBM.sln

* refine

* run MPI job in debug mode

* document USE_DEBUG and USE_TIMETAG

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-03-01 08:15:25 +08:00
Nikita Titov 9d76066562
[ci] bump Azure image versions (#2822)
* bump Azure image versions

* fixed Windows builds
2020-02-26 11:53:50 +08:00
Nikita Titov b588cae2a5 [ci] indicate support only for the last 3 macOS versions in wheel name (#2691)
* indicate support only for the last 3 macOS versions in wheel name

* document support only for 3 newest macOS versions
2020-01-15 22:16:55 -06:00
Nikita Titov 8944b5e6b9
removed OpenMP ugly fix for Mojave (#2674)
* removed OpenMP ugly fix for Mojave as it's fixed in latest CMake

* test: switch compilers

* switch compilers back
2020-01-12 16:51:27 +03:00
James Lamb d0bd8270ed [R-package] [ci] removed TODOs in code (#2667)
* [R-package] removed TODOs in code

* [ci] added to-do to TODO comment linter
2020-01-06 18:11:28 +03:00
Nikita Titov d100277649 specify the last supported version of scikit-learn (#2637) 2019-12-19 19:00:29 +08:00
James Lamb 86ca484508
[R-package][ci] added CI stage for R package (fixes #2335, fixes #2569) (#2530) 2019-12-15 12:01:01 -06:00
James Lamb 1f7b06b983 [R-package][ci] Added more R linters (fixes #2477) (#2533)
* Added more linters on R code

* started working on implicit integers

* finished style changes to handle implicit integers

* regenned documentation and added concatenation linter

* changed channel for r-lintr

* try building stringi before lintr

* trying to get libicui18n

* trying another thing

* trying conda-forge again

* added re-install of stringi

* uncommented other stages

* Update .ci/test.sh

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* removed apt update and changed lintr version floor

* get lintr from CRAN

* R needs to come before C++ linting

* testing lintr install from CRAN

* trying one more thing

* more verbose

* order might matter

* removed commented code

* cleaned up linting block in test.sh

* grouped conda install calls and fixed a few integer array things
2019-11-17 00:12:38 +03:00
Nikita Titov 76bda1e257 support Catalina (#2556) 2019-11-10 16:22:39 -06:00
Nikita Titov 785e477856 [ci] removed temp fix for Graphviz from conda (#2551) 2019-11-07 21:42:29 -06:00
James Lamb 7cfb492e77
[ci][R-package] removed outdated comment in lint_r_code.R (#2541) 2019-11-05 16:19:46 -06:00
James Lamb fc991c9d7e
[R-package] added R linting and changed R code to comma-first (fixes #2373) (#2437) 2019-10-24 13:47:26 -07:00
Nikita Titov 44b0acacb2 [ci] removed temp fix #2522 2019-10-22 14:04:00 -07:00
Nikita Titov 2c3ebd94dc [ci] miniconda installer hotfix (#2511)
* Update setup.sh

* Update setup.sh

* Update setup.sh

* Update setup.sh

* Update setup.sh

* Update setup.sh
2019-10-16 10:57:28 +08:00
Nikita Titov 780a3fdf2f [ci] removed temp fix for missing package (#2493) 2019-10-05 20:56:10 -05:00
Nikita Titov 67099ff8a7
[ci] added build/c++11 to cpplint filter (#2487) 2019-10-02 03:31:45 +03:00
Nikita Titov 6036e07d1f
[ci] move Clang linking into docker (#2476)
* moved clang linking commands to docker

* switch to dev container

* test: switch compilers

* switch compilers back

* switch back to production container
2019-10-01 14:05:25 +03:00
Nikita Titov e6505417ef [ci] removed outdated code (#2475) 2019-09-29 10:58:43 -05:00
Nikita Titov e47d941428 [ci] temp fix for missing dependency on Windows (#2440) 2019-09-24 18:20:32 -05:00
Nikita Titov e77658205d Update setup.sh (#2421) 2019-09-23 19:40:32 -05:00
Nikita Titov 4f89cc1078
[ci] added build/include_subdir check to filter for cpplint (#2427) 2019-09-21 18:37:36 +03:00
Nikita Titov 306c6dbfd5
[ci] added cpplint check (#2416)
* added cpplint heck

* removed TODO from code

* change order of checks
2019-09-19 16:48:53 +03:00
Nikita Titov df26b65d78
[ci][tests] install joblib for test directly (#2374) 2019-09-03 14:08:10 +03:00
Nikita Titov ee28ea36a4
[ci] remove temp fix and fix activation for conda (#2280)
* removed temp fix for conda

* fixed conda activation before any conda command
2019-07-24 15:06:58 +03:00
Nikita Titov 16751b3803
[ci] downgrade conda (#2245)
* Update .appveyor.yml

* Update .vsts-ci.yml

* Update setup.sh
2019-07-01 13:11:10 +03:00
Nikita Titov 62935f5262 updated boost (#2218) 2019-06-30 05:35:54 +01:00
Nikita Titov c9d681ac0d
[ci] migrate to new Dockerfile (#2174)
* migrate Dockerfile

* switch tag back
2019-05-15 18:41:27 +03:00
Nikita Titov 2a3691703c
[ci] added swig compilation on macOS and Windows with artifacts (#2170)
* compile SWIG artifact on Windows

* compile SWIG artifact on Windows

* combined swig and sdist jobs for Linux

* added conditions for artifacts publishing

* added SWIG artifact compilation on macOS

* hotfix

* test: switch compilers

* harsh workaround for OpenMP library conflict

* switch compilers back

* consistent order of tasks in condition

* dummy commit to trigger CI and fix CLA
2019-05-14 14:50:27 +03:00
Nikita Titov 76170788c4
[ci][docs] updated fix for OpenMP conflicts (#2166)
* test: AppleClang on Travis

* updated fix for OpenMP multiple instances

* updated docs

* switch compiler back
2019-05-12 14:19:53 +03:00
Nikita Titov abbbbd7545 [ci] CI fixes (#2161)
* Update setup.sh

* Update test.sh

* Update setup.sh

* test: gcc on Azure

* Update test.sh

* Update setup.sh

* Update test.sh

* switch compiler back on Azure
2019-05-09 09:52:10 +08:00
Guolin Ke 94fbe5bb9f
[docs] updated Microsoft GitHub URL (#2152)
* fix travis badge

* updated GitHub Microsoft URL
2019-05-08 13:51:28 +08:00
Nikita Titov 2c41d15e06 [ci] nose is not needed anymore (#2151) 2019-05-06 09:53:33 +08:00
Nikita Titov cfcc020e58
[ci][docs] generate docs for C API (#2059)
* use file to install deps for docs

* added C_API docs

* use breathe without exhale

* added missed params descriptions and make Doxygen fail for warnings

* escape char hotfix

* ignore unknown directive for rstcheck

* better handle env variable

* hotfix for 'Unknown directive type' error with C_API=NO

* Update .gitignore

* fixed pylint

* use already defined constants in conf.py

* do not suppress Doxygen's output

* addressed review comments

* removed unneeded import
2019-05-05 14:54:37 +03:00
Nikita Titov 40e3048f61
[ci] removed graphviz from docker (#2142) 2019-05-04 21:02:16 +03:00
Nikita Titov 739c2635f4 [ci] added job for swig compilation on Linux with artifacts (#2125)
* added job for swig compilation on Linux with artifacts

* hotfix

* test: SWIG with Clang compiler

* switch compiler back to gcc

* switch to main docker
2019-04-30 12:26:16 +08:00
Nikita Titov 8d2ec69f4f
[python][R][docs][ci] better compatibility with Visual Studio 2019 (#2083)
* set platform via A option

* style hotfix

* updated R installation script

* updated Python installation script

* updated CI test script

* provide VS version-ingependent link for redistributables download

* added link to VS 2019 redistributables

* added VS 2019 match for Boost binaries
2019-04-29 13:34:44 +03:00
Nikita Titov 044a39d0ee [ci] hotfixes (#2132)
* Update Features.rst

* Update .appveyor.yml

* Update test_windows.ps1

* Update test_windows.ps1

* Update .appveyor.yml

* Update test_windows.ps1

* Update .appveyor.yml
2019-04-26 22:06:49 +08:00
Nikita Titov 0e025e9c22 [ci] update macOS on Travis to Mojave (#2086)
* added fix for OpenMP on macOS into test script

* test: AppleClang on Travis

* use Mojave on Travis

* bash hotfix

* get back to gcc compiler on Travis macOS
2019-04-10 23:18:55 +09:00
Nikita Titov 691b842832 [ci] update CI stuff (#2079)
* updated boost submodule

* updated docker with new stable Clang and CMake

* switch to dev docker

* updated setup script

* updated MinGW on Appveyor

* updated Azure config to use docker for GPU task

* do not upgrade gcc - takes too long

* test: switch compilers

* switch compilers back

* get back to main docker
2019-04-09 10:23:32 +08:00
Nikita Titov babe8b313a removed hotfix (#2054) 2019-03-19 07:58:40 +08:00
Nikita Titov b020a25d3d [ci] compatibility hotfix for notebook execution (#2048)
* ci fix

* ci fix for Appveyor

* actually firx Appveyor
2019-03-14 18:45:48 +08:00
Nikita Titov b447a7bc34 fixed conda (#2016) 2019-02-18 14:37:36 +08:00
Nikita Titov 6f548ada45 [ci] refined command status check (#1980)
* refined command status check

* refined Appveyor

* redirect all warnings to stdout
2019-02-02 14:38:19 +08:00
Nikita Titov fe77eac5e7
[tests][python] added test for huge string model (#1964)
* added test for huge string model

* fixed tree sizes field

* simplified model structure

* fixed test and added try/except
2019-01-30 16:34:06 +03:00
Nikita Titov d038aa5716
[ci] updated CMake version in CI Docker image (#1947) 2019-01-15 14:26:11 +03:00
Nikita Titov 19c10824a1
[ci] bump Xcode version on Azure (#1941)
* fixed xcode version

* fixed brew on Travis

* fixed brew on Azure Pipelines
2019-01-14 13:09:59 +03:00
Nikita Titov 1318653ce7
[ci][docs] updated temp fix for warning written to stderr, fixed conda permissions and updated bench link (#1849)
* Update .appveyor.yml

* updated bench link (404)

* fixed conda permission error on Azure

* use stable container
2018-11-21 19:59:55 +03:00
Guolin Ke 69301eada9 [ci] Change conda install location (#1855)
* Update Dockerfile

* Update Dockerfile

* chmod conda folder
2018-11-21 23:30:01 +08:00
Nikita Titov a694712b7f
[ci][python] fall back to producing one wheel for macOS and drop support of OSX 10.6 and 10.7 (#1826) 2018-11-13 12:36:06 +03:00
Nikita Titov 71bd9ed5e7 use latest Sphinx with rstcheck (#1836) 2018-11-11 16:39:34 +08:00
Nikita Titov 8ace7339d8 update Xcode on Travis (#1825) 2018-11-06 22:18:37 +08:00
Nikita Titov 28e47aae63 slightly refactored ci tests script (#1827) 2018-11-06 22:18:17 +08:00
Nikita Titov b0a938aee1 [ci] updated fix for macOS on Travis (#1822)
* updated fix for macOS on Travis

* hotfix
2018-11-06 10:06:15 +08:00
Nikita Titov 5c8e365fe5 [ci] run example jupyter notebooks as part of tests at the CI side (#1807)
* execute notebooks on CIs

* run notebooks in interactive mode and increase timeout for MinGW

* hotfix alphabetically sort packages installation
2018-11-05 15:49:54 +08:00
Nikita Titov dfe0fae4ea [ci] check dynamic symbol versions at CI side (#1812)
* renamed helper folder to helpers

* added library dependencies check
2018-11-01 09:42:06 +08:00
Nikita Titov ef4b5be531
[ci] fixed CMake update on Travis (#1804) 2018-10-31 12:51:58 +03:00
Nikita Titov f21ca60b01 [ci] cleanup CI installation (#1806) 2018-10-31 10:28:00 +08:00
Guolin Ke f0e75fc107
add clang to ci docker 2018-10-30 10:40:03 +08:00
nabokovas 9a2bf26626 [ci] sort package installation (#1761)
* sort package installation
2018-10-18 01:35:58 +03:00
Guolin Ke 1a1255ac4c
[ci] speed up the linux builds (#1745)
* speed up the build

* remove gpu docker

* add boost ppa

* remove duplicate installs

* Update test.sh

* conda install mkl qt

* addd windows

* Update .vsts-ci.yml

* fix gpu boost
2018-10-17 20:09:12 +08:00
Nikita Titov ccf2570ca3 [docs][ci][python] added docstring style test and fixed errors in existing docstrings (#1759)
* added docstring style test and fixed errors in existing docstrings

* hotfix

* hotfix

* fix grammar

* hotfix
2018-10-16 14:19:36 +08:00
Nikita Titov dfdf88618e [ci] downgrade Xcode version on Azure (#1754)
* downgrade Xcode version on Azure

* fixed docs and warning
2018-10-16 11:13:38 +08:00
Guolin Ke 17165f9372 remove empty lines 2018-10-11 10:24:49 +08:00
Guolin Ke e8395e9259
[Azure Pipeline] switch to Hosted Ubuntu 1604 (#1740)
* use new keywords

* fix conda install

* try to fix conda

* conda
2018-10-10 20:54:22 +08:00
Nikita Titov f66716cebe support macOS 10.14 Mojave (#1732) 2018-10-05 10:09:42 +08:00
Nikita Titov 912761512e build docs with latest sphinx (#1729) 2018-10-03 22:12:04 +08:00
Nikita Titov 52dbc5722f [ci] dowgrade gcc version for Linux on Azure (#1718)
* dowgrade gcc version on Azure

* small fixes, update Artifacts condition for easy debug.

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update setup.sh

* Update CMakeLists.txt

* Update .vsts-ci.yml

* Update CMakeLists.txt

* remove the lgamma

* update comment

* make sure that we use appropriate compiler
2018-10-03 09:06:43 +08:00
Nikita Titov b419331b72 sphinx hotfix (#1713) 2018-09-29 10:22:29 +08:00
Nikita Titov eb131ead89
[docs] run pycodestyle for docs folder (#1687)
* run pytest for docs folder too

* fixed pylint error and some minor style issues
2018-09-21 23:18:48 +03:00
Nikita Titov 64002b2c0d added execute permissions to scripts (#1674) 2018-09-18 10:23:23 +08:00
Nikita Titov dea7c78418
[ci] merged CI test scripts into one (#1671) 2018-09-17 12:16:03 +03:00
Nikita Titov 73a9a192c9 [ci] merged CI setup scripts into one (#1669)
* reorganized CI files

* merged scripts into one
2018-09-15 09:59:55 +08:00