Skip to content

Update setup.sh

Update setup.sh #8899

Workflow file for this run

name: CUDA Version
on:
push:
branches:
- test-install
# automatically cancel in-progress builds if another commit is pushed
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: cuda
runs-on: [self-hosted, linux]
container:
image: nvcr.io/nvidia/cuda:12.6.1-devel-ubuntu22.04
env:
CMAKE_BUILD_PARALLEL_LEVEL: 4
DEBIAN_FRONTEND: noninteractive
options: --gpus all
timeout-minutes: 30
steps:
- name: Install latest git and sudo
run: |
apt-get update
apt-get install --no-install-recommends -y \
ca-certificates \
software-properties-common
add-apt-repository ppa:git-core/ppa -y
apt-get update
apt-get install --no-install-recommends -y \
git \
sudo
- name: Setup and run tests
run: |
bash <(curl -s https://raw.githubusercontent.com/microsoft/LightGBM/refs/heads/test-install/.ci/setup.sh) || exit 1