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

55 Коммитов

Автор SHA1 Сообщение Дата
Nikita Titov a53abd96cb
[ci] update SWIG installation on macOS (#3477)
* Update .vsts-ci.yml

* Update setup.sh

* Update .vsts-ci.yml

* Update .vsts-ci.yml

* try not to hardcode path
2020-10-23 02:14:12 +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
Nikita Titov adb769cde7
[ci] run Travis and Azure Pipelines only for master branch (#3265)
* Update .vsts-ci.yml

* Update .travis.yml
2020-07-29 23:06:31 +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 f82e943c9f
[ci] remove unused environment variable in CI setups (#3125) 2020-05-29 02:23:41 +03: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
Nikita Titov 507ce1be12
[ci] fix flaky test (#3056) 2020-05-07 14:26:26 -05: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 6c19539e93
[python][ci] start to support Python 3.8 (#2713)
* start to support Python 3.8

* update configs

* hotfix
2020-04-14 01:08:15 +03:00
James Lamb 15250df8df
[ci] upgrade to R 3.6.3 in CI (#2969) 2020-04-04 17:17:43 +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
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 9d76066562
[ci] bump Azure image versions (#2822)
* bump Azure image versions

* fixed Windows builds
2020-02-26 11:53:50 +08:00
Nikita Titov cb8dfae545
[ci] swap compilers back for CI services (#2730)
* Update .travis.yml

* Update .vsts-ci.yml
2020-02-03 07:17:33 +03:00
Guolin Ke 509c2e50c2
Support both row-wise and col-wise multi-threading (#2699)
* commit

* fix a bug

* fix bug

* reset to track changes

* refine the auto choose logic

* sort the time stats output

* fix include

* change  multi_val_bin_sparse_threshold

* add cmake

* add _mm_malloc and _mm_free for cross platform

* fix cmake bug

* timer for split

* try to fix cmake

* fix tests

* refactor DataPartition::Split

* fix test

* typo

* formating

* Revert "formating"

This reverts commit 5b8de4f7fb.

* add document

* [R-package] Added tests on use of force_col_wise and force_row_wise in training (#2719)

* naming

* fix gpu code

* Update include/LightGBM/bin.h

Co-Authored-By: James Lamb <jaylamb20@gmail.com>

* Update src/treelearner/ocl/histogram16.cl

* test: swap compilers for CI

* fix omp

* not avx2

* no aligned for feature histogram

* Revert "refactor DataPartition::Split"

This reverts commit 256e6d9641.

* slightly refactor data partition

* reduce the memory cost

Co-authored-by: James Lamb <jaylamb20@gmail.com>
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-02-02 12:42:17 +08: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
Nikita Titov 780a3fdf2f [ci] removed temp fix for missing package (#2493) 2019-10-05 20:56:10 -05: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 4ca85fbce7 turn on release notes (#2256) 2019-07-07 08:42:04 +08: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 b3c1ffbf9f [ci] create GitHub release automatically (#2171)
* added GitHub Release task

* add connection name

* test

* added triggers for tags

* hotfixes
2019-05-15 21:40:07 +08: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 2c41d15e06 [ci] nose is not needed anymore (#2151) 2019-05-06 09:53:33 +08: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 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 b447a7bc34 fixed conda (#2016) 2019-02-18 14:37:36 +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 843c838225 [ci] removed temp brew hotfix and deprecated sudo option (#1951)
* removed brew hotfix and deprecated sudo option on Travis

* removed brew hotfix on Azure
2019-01-17 15:06:23 +08: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
Nikita Titov 841d2b9044 Fixed conda permission error on Azure Pipelines (#1787) 2018-10-26 09:44:51 +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 4b1669c495
[ci] build NuGet via built-in Azure tasks (#1753) 2018-10-13 12:53:21 +03: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 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
Guolin Ke 425503d7e2 using a different version in master branch, compared with release (#1676)
* using different version for master branch with release

* Update .travis.yml

* Update .travis.yml
2018-09-20 14:05:02 +09: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
Nikita Titov e1b5901ffd [ci] rebalanced macOS tests (#1665)
* refined macos tests

* hotfix

* use the same naming for env variables
2018-09-14 17:06:52 +08:00
Nikita Titov e17a28ec0c
[ci] rebalanced Linux tests (#1663)
* refined Travis tests

* refined VSTS Linux part

* cleanup

* added possibility to test Clang at VSTS

* simplified cp command
2018-09-12 13:32:09 +03:00
Nikita Titov c258cec74f [ci] rebalanced Windows tests (#1660)
* refined Appveyor

* run all tests at Appveyor

* refined VSTS Windows part

* return back old MinGW version

* fixed weird MinGW bug

* don't test Python 3.7 at Windows

* disable tree rendering at Appveyor

* give names to scripts in VSTS Windows and artifacts parts
2018-09-12 10:40:11 +08:00
Nikita Titov 50e19b170b [ci] remove duplicated variable definitions (#1656) 2018-09-10 11:28:15 +08:00
Guolin Ke f44b60b633
refine vsts-ci (#1653)
* Fix CI (#1652)

* Update .travis.yml

* Update .appveyor.yml

* only tags for build

* Update .vsts-ci.yml

* Update .vsts-ci.yml
2018-09-09 11:36:36 +08:00
Guolin Ke fc7c75fca2
fix nuget (#1569)
* try to fix nuget

* add exe copy

* Update create_nuget.py

* Update .vsts-ci.yml

* add build folder

* fix build folder

* Update create_nuget.py

* Update create_nuget.py

* Update create_nuget.py

* Update create_nuget.py

* update version to test on nuget.org
2018-08-26 11:35:50 +08:00