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

188 Коммитов

Автор SHA1 Сообщение Дата
Nikita Titov 12e220b79d
setup CUDA CI job (#3424)
* setup CUDA CI job

* minor updates
2020-10-26 13:04:42 +08:00
James Lamb 81d761133f
[ci] [R-package] Fix memory leaks found by valgrind (#3443)
* fix int64 write error

* attempt

* [WIP] [ci] [R-package] Add CI job that runs valgrind tests

* update all-successful

* install

* executable

* fix redirect stuff

* Apply suggestions from code review

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

* more flags

* add mc to msvc proj

* fix memory leak in mc

* Update monotone_constraints.hpp

* Update r_package.yml

* remove R_INT64_PTR

* disable openmp

* Update gbdt_model_text.cpp

* Update gbdt_model_text.cpp

* Apply suggestions from code review

* try to free vector

* free more memories.

* Update src/boosting/gbdt_model_text.cpp

* fix using

* try the UNPROTECT(1);

* fix a const pointer

* fix Common

* reduce UNPROTECT

* remove UNPROTECT(1);

* fix null handle

* fix predictor

* use NULL after free

* fix a leaking in test

* try more fixes

* test the effect of tests

* throw exception in Fatal

* add test back

* Apply suggestions from code review

* commet some tests

* Apply suggestions from code review

* Apply suggestions from code review

* trying to comment out tests

* Update openmp_wrapper.h

* Apply suggestions from code review

* Update configure

* Update configure.ac

* trying to uncomment

* more comments

* more uncommenting

* more uncommenting

* fix comment

* more uncommenting

* uncomment fully-commented out stuff

* try uncommenting more dataset tests

* uncommenting more tests

* ok getting closer

* more uncommenting

* free dataset

* skipping a test, more uncommenting

* more skipping

* re-enable OpenMP

* allow on OpenMP thing

* move valgrind to comment-only job

* Apply suggestions from code review

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

* changes from code review

* Apply suggestions from code review

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

* linting

* issue comments too

* remove issue_comment

Co-authored-by: Guolin Ke <guolin.ke@outlook.com>
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-10-17 23:04:14 -05:00
James Lamb c182555d4f
[ci] ignore R CMD CHECK warnings on new R version (#3468)
* [ci] ignore R CMD CHECK warnings on new R version

* just update version
2020-10-17 22:25:53 -05:00
James Lamb 3f71d75467
[R-package][ci] Add test on R package with sanitizers (#3439)
* [ci] add R CI job with UBSAN

* stuff

* fix command

* update template

* fail on errors

* spaces

* trigger by comment

* stuff

* add all CI back

* trying things

* run sanitizers as a regular job

* remove comments

* sanitizers

* try to trigger UBSAN

* try to trigger failure

* remove int overflow

* remove testing change

* Apply suggestions from code review

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

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-10-09 16:49:29 +03:00
Nikita Titov 5b0ab05c3d
[ci] rename R-package GitHub Actions workflow (#3429)
* rename R-package workflow

* Revert "[ci] fix R CMD check issue 'unable to verify current time' (#3341)"

This reverts commit 0038a66208.

* Revert "Revert "[ci] fix R CMD check issue 'unable to verify current time' (#3341)""

This reverts commit e2307418aa.
2020-10-02 14:57:14 -05:00
James Lamb c600e844f0
[ci] removed unused environment variable CONDA_ENV (#3411) 2020-09-29 14:40:13 +03:00
Nikita Titov a3b9dae730
[python] Drop Python 3.5 support (#3395)
* Update .appveyor.yml

* Update .travis.yml

* Update .vsts-ci.yml

* Update main.yml

* Update setup.py
2020-09-15 18:12:03 +03:00
Thomas Grainger 636e4eee0f
[ci] add an allgood job for easy [required] builds (#3351)
* add an allgood job for easy [required] builds

see https://github.community/t/is-it-possible-to-require-all-github-actions-tasks-to-pass-without-enumerating-them/117957/4?u=graingert

* Update .github/workflows/main.yml

* Update .github/workflows/main.yml

Co-authored-by: Thomas Grainger <tagrain@gmail.com>

Co-authored-by: James Lamb <jaylamb20@gmail.com>
2020-09-05 20:32:52 -05: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
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
James Lamb 61b3c30842
add rules for tests/ in CODEOWNERS (#3226) 2020-07-13 10:43:18 -05: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 f5e516493e
[ci][docs] added GitHub Actions badge and simplified condition in config (#3179)
* added GitHub Actions badge

* simplified condition in config
2020-06-23 01:18:32 +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
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 e5b7c7b7c9
Update CODEOWNERS rule about CMakeLists.txt (#3079) 2020-05-14 01:52:20 +03:00
James Lamb 6823af9453
[docs] updated bug report template (#3032)
* [docs] updated bug report template

* Apply suggestions from code review

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

* clean up issue template

* Update .github/ISSUE_TEMPLATE/BUG_REPORT.md

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

* Update .github/ISSUE_TEMPLATE/BUG_REPORT.md

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

* Update .github/ISSUE_TEMPLATE/BUG_REPORT.md

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

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-05-03 03:56:26 +01:00
Nikita Titov 151bf0703a
Update CODEOWNERS (#2996) 2020-04-14 16:16:51 +03:00
Guolin Ke 4aa888c815
fix release-drafter.yml (#2895)
* Update release-drafter.yml

* Apply suggestions from code review

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

* Update .github/release-drafter.yml

* Apply suggestions from code review

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

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-03-15 01:21:19 +08:00
Guolin Ke 018bdd3f19
add more bots (#2843)
* Create release-drafter.yml

* Create no-response.yml

* disable comments

* Apply suggestions from code review

* Update release-drafter.yml

* Apply suggestions from code review

* Update .vsts-ci.yml
2020-03-07 23:58:34 +08:00
Nikita Titov 87f80251b9
update lockbot (#2842)
* update lockbot

* disable lockLabel

* Update lock.yml

Co-authored-by: Guolin Ke <guolin.ke@outlook.com>
2020-02-29 23:26:15 +08:00
Guolin Ke ad83e8f457
Update BUG_REPORT.md (#2833)
* Update BUG_REPORT.md

* Update .github/ISSUE_TEMPLATE/BUG_REPORT.md

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

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-02-28 11:21:12 +08:00
Guolin Ke 4fa3252914
Add lock bot (#2815)
* Create lock.yml

* Update lock.yml
2020-02-27 08:13:34 +08:00
Guolin Ke 6a3e27df03
Avoid the issue is labeled to bug by default.
Many issues actually are not bugs..
2019-11-21 12:34:33 +08:00
James Lamb 7feaaefb5b
[docs][docker] cleaned up CODEOWNERS and fixed build warning in dockerfile-python (#2555) 2019-11-11 23:50:24 -06:00
Nikita Titov ff4e48ce53
reworked GitHub issue templates (#2492) 2019-10-06 16:16:19 +03:00
Nikita Titov f1fbc2f1ee added JAVA codeowner (#2430) 2019-09-23 23:07:10 +08:00
Nikita Titov 4fee5821ee fix codeowners (#2429) 2019-09-22 23:04:33 -05:00
James Lamb 0d02499e4c
[ci] added CODEOWNERS (fixes #2194) (#2196)
* added CODEOWNERS (fixes #2194)

* revisions to CODEOWNERS

* more general wildcard in CODEOWNERS
2019-07-17 00:20:58 -05:00
Nikita Titov e6a32c88a3
[docs] ask to provide LightGBM version for issue (#1958) 2019-01-18 18:09:29 +03:00
Nikita Titov a760eae4ff updated issue template (#1696) 2018-09-25 12:42:48 +08:00
Nikita Titov a9ba870ed5 do not show tips after creating the issue (#1581) 2018-08-13 09:26:09 +08:00
Qiwei Ye b10b350d2d Update ISSUE_TEMPLATE.md 2017-07-19 12:07:13 +08:00
wxchan 82fcfa0e57 fix warning; fix doc bug (#232) 2017-01-17 16:40:03 +08:00
Qiwei Ye fd28f09517 adding issues template 2016-12-23 17:03:49 +08:00