microsoft / LightGBM

A fast, distributed, high performance gradient boosting (GBT, GBDT, GBRT, GBM or MART) framework based on decision tree algorithms, used for ranking, classification and many other machine learning tasks.
https://lightgbm.readthedocs.io/en/latest/
MIT License
16.32k stars 3.8k forks source link

[ci] remove unnecessary package installations in CI #6488

Closed jameslamb closed 1 week ago

jameslamb commented 2 weeks ago

Reduces the set of packages installed in CI jobs.

.ci/setup.sh is responsible for installing some system packages that are common across most CI jobs. Some of the things installed there have been carried around in LightGBM's CI scripts for years, since back when the project used Travis (#3672, #1669).

Some of them are no longer necessary. For example, tools like netcat and iputils-ping provide some useful tools for debugging networking issues, but those tools aren't invoked in this project's CI scripts.

Benefits of these changes:

jameslamb commented 1 week ago

Thanks @borchero ! I'm going to keep trying to simplify these builds. There is a lot of stuff that's built up over the years (much of it written by me 😅 ) that's worth re-examining.