Skip to content

Commit 704aea4

Browse files
committed
comment out CI
1 parent 1660982 commit 704aea4

File tree

4 files changed

+826
-826
lines changed

4 files changed

+826
-826
lines changed

.github/workflows/cuda.yml

Lines changed: 112 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -1,115 +1,115 @@
1-
name: CUDA Version
1+
# name: CUDA Version
22

3-
on:
4-
push:
5-
branches:
6-
- master
7-
pull_request:
8-
branches:
9-
- master
3+
# on:
4+
# push:
5+
# branches:
6+
# - master
7+
# pull_request:
8+
# branches:
9+
# - master
1010

11-
env:
12-
github_actions: 'true'
13-
os_name: linux
14-
conda_env: test-env
11+
# env:
12+
# github_actions: 'true'
13+
# os_name: linux
14+
# conda_env: test-env
1515

16-
jobs:
17-
test:
18-
name: ${{ matrix.task }} ${{ matrix.cuda_version }} ${{ matrix.method }} (linux, ${{ matrix.compiler }}, Python ${{ matrix.python_version }})
19-
runs-on: [self-hosted, linux]
20-
timeout-minutes: 60
21-
strategy:
22-
fail-fast: false
23-
matrix:
24-
include:
25-
- method: source
26-
compiler: gcc
27-
python_version: "3.8"
28-
cuda_version: "11.7.1"
29-
task: cuda
30-
- method: pip
31-
compiler: clang
32-
python_version: "3.9"
33-
cuda_version: "10.0"
34-
task: cuda
35-
- method: wheel
36-
compiler: gcc
37-
python_version: "3.10"
38-
cuda_version: "9.0"
39-
task: cuda
40-
- method: source
41-
compiler: gcc
42-
python_version: "3.8"
43-
cuda_version: "11.7.1"
44-
task: cuda_exp
45-
- method: pip
46-
compiler: clang
47-
python_version: "3.9"
48-
cuda_version: "10.0"
49-
task: cuda_exp
50-
steps:
51-
- name: Setup or update software on host machine
52-
run: |
53-
sudo apt-get update
54-
sudo apt-get install --no-install-recommends -y \
55-
apt-transport-https \
56-
ca-certificates \
57-
curl \
58-
git \
59-
gnupg-agent \
60-
lsb-release \
61-
software-properties-common
62-
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
63-
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" -y
64-
curl -sL https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
65-
curl -sL https://nvidia.github.io/nvidia-docker/$(. /etc/os-release;echo $ID$VERSION_ID)/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list
66-
sudo apt-get update
67-
sudo apt-get install --no-install-recommends -y \
68-
containerd.io \
69-
docker-ce \
70-
docker-ce-cli \
71-
nvidia-docker2
72-
sudo chmod a+rw /var/run/docker.sock
73-
sudo systemctl restart docker
74-
- name: Remove old folder with repository
75-
run: sudo rm -rf $GITHUB_WORKSPACE
76-
- name: Checkout repository
77-
uses: actions/checkout@v1
78-
with:
79-
fetch-depth: 5
80-
submodules: true
81-
- name: Setup and run tests
82-
run: |
83-
export ROOT_DOCKER_FOLDER=/LightGBM
84-
cat > docker.env <<EOF
85-
GITHUB_ACTIONS=${{ env.github_actions }}
86-
OS_NAME=${{ env.os_name }}
87-
COMPILER=${{ matrix.compiler }}
88-
TASK=${{ matrix.task }}
89-
METHOD=${{ matrix.method }}
90-
CONDA_ENV=${{ env.conda_env }}
91-
PYTHON_VERSION=${{ matrix.python_version }}
92-
BUILD_DIRECTORY=$ROOT_DOCKER_FOLDER
93-
LGB_VER=$(head -n 1 VERSION.txt)
94-
EOF
95-
cat > docker-script.sh <<EOF
96-
export CONDA=\$HOME/miniforge
97-
export PATH=\$CONDA/bin:\$PATH
98-
nvidia-smi
99-
$ROOT_DOCKER_FOLDER/.ci/setup.sh || exit -1
100-
$ROOT_DOCKER_FOLDER/.ci/test.sh || exit -1
101-
EOF
102-
cuda_version="${{ matrix.cuda_version }}"
103-
cuda_major=${cuda_version%%.*}
104-
docker_img="nvcr.io/nvidia/cuda:${cuda_version}-devel"
105-
if [[ ${cuda_major} -gt 10 ]]; then
106-
docker_img="${docker_img}-ubuntu$(lsb_release -rs)"
107-
fi
108-
docker run --env-file docker.env -v "$GITHUB_WORKSPACE":"$ROOT_DOCKER_FOLDER" --rm --gpus all "$docker_img" /bin/bash $ROOT_DOCKER_FOLDER/docker-script.sh
109-
all-successful:
110-
# https://github.community/t/is-it-possible-to-require-all-github-actions-tasks-to-pass-without-enumerating-them/117957/4?u=graingert
111-
runs-on: ubuntu-latest
112-
needs: [test]
113-
steps:
114-
- name: Note that all tests succeeded
115-
run: echo "🎉"
16+
# jobs:
17+
# test:
18+
# name: ${{ matrix.task }} ${{ matrix.cuda_version }} ${{ matrix.method }} (linux, ${{ matrix.compiler }}, Python ${{ matrix.python_version }})
19+
# runs-on: [self-hosted, linux]
20+
# timeout-minutes: 60
21+
# strategy:
22+
# fail-fast: false
23+
# matrix:
24+
# include:
25+
# - method: source
26+
# compiler: gcc
27+
# python_version: "3.8"
28+
# cuda_version: "11.7.1"
29+
# task: cuda
30+
# - method: pip
31+
# compiler: clang
32+
# python_version: "3.9"
33+
# cuda_version: "10.0"
34+
# task: cuda
35+
# - method: wheel
36+
# compiler: gcc
37+
# python_version: "3.10"
38+
# cuda_version: "9.0"
39+
# task: cuda
40+
# - method: source
41+
# compiler: gcc
42+
# python_version: "3.8"
43+
# cuda_version: "11.7.1"
44+
# task: cuda_exp
45+
# - method: pip
46+
# compiler: clang
47+
# python_version: "3.9"
48+
# cuda_version: "10.0"
49+
# task: cuda_exp
50+
# steps:
51+
# - name: Setup or update software on host machine
52+
# run: |
53+
# sudo apt-get update
54+
# sudo apt-get install --no-install-recommends -y \
55+
# apt-transport-https \
56+
# ca-certificates \
57+
# curl \
58+
# git \
59+
# gnupg-agent \
60+
# lsb-release \
61+
# software-properties-common
62+
# curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
63+
# sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" -y
64+
# curl -sL https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
65+
# curl -sL https://nvidia.github.io/nvidia-docker/$(. /etc/os-release;echo $ID$VERSION_ID)/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list
66+
# sudo apt-get update
67+
# sudo apt-get install --no-install-recommends -y \
68+
# containerd.io \
69+
# docker-ce \
70+
# docker-ce-cli \
71+
# nvidia-docker2
72+
# sudo chmod a+rw /var/run/docker.sock
73+
# sudo systemctl restart docker
74+
# - name: Remove old folder with repository
75+
# run: sudo rm -rf $GITHUB_WORKSPACE
76+
# - name: Checkout repository
77+
# uses: actions/checkout@v1
78+
# with:
79+
# fetch-depth: 5
80+
# submodules: true
81+
# - name: Setup and run tests
82+
# run: |
83+
# export ROOT_DOCKER_FOLDER=/LightGBM
84+
# cat > docker.env <<EOF
85+
# GITHUB_ACTIONS=${{ env.github_actions }}
86+
# OS_NAME=${{ env.os_name }}
87+
# COMPILER=${{ matrix.compiler }}
88+
# TASK=${{ matrix.task }}
89+
# METHOD=${{ matrix.method }}
90+
# CONDA_ENV=${{ env.conda_env }}
91+
# PYTHON_VERSION=${{ matrix.python_version }}
92+
# BUILD_DIRECTORY=$ROOT_DOCKER_FOLDER
93+
# LGB_VER=$(head -n 1 VERSION.txt)
94+
# EOF
95+
# cat > docker-script.sh <<EOF
96+
# export CONDA=\$HOME/miniforge
97+
# export PATH=\$CONDA/bin:\$PATH
98+
# nvidia-smi
99+
# $ROOT_DOCKER_FOLDER/.ci/setup.sh || exit -1
100+
# $ROOT_DOCKER_FOLDER/.ci/test.sh || exit -1
101+
# EOF
102+
# cuda_version="${{ matrix.cuda_version }}"
103+
# cuda_major=${cuda_version%%.*}
104+
# docker_img="nvcr.io/nvidia/cuda:${cuda_version}-devel"
105+
# if [[ ${cuda_major} -gt 10 ]]; then
106+
# docker_img="${docker_img}-ubuntu$(lsb_release -rs)"
107+
# fi
108+
# docker run --env-file docker.env -v "$GITHUB_WORKSPACE":"$ROOT_DOCKER_FOLDER" --rm --gpus all "$docker_img" /bin/bash $ROOT_DOCKER_FOLDER/docker-script.sh
109+
# all-successful:
110+
# # https://github.community/t/is-it-possible-to-require-all-github-actions-tasks-to-pass-without-enumerating-them/117957/4?u=graingert
111+
# runs-on: ubuntu-latest
112+
# needs: [test]
113+
# steps:
114+
# - name: Note that all tests succeeded
115+
# run: echo "🎉"

.github/workflows/python_package.yml

Lines changed: 76 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,79 @@
1-
name: Python-package
1+
# name: Python-package
22

3-
on:
4-
push:
5-
branches:
6-
- master
7-
pull_request:
8-
branches:
9-
- master
3+
# on:
4+
# push:
5+
# branches:
6+
# - master
7+
# pull_request:
8+
# branches:
9+
# - master
1010

11-
env:
12-
CONDA_ENV: test-env
13-
GITHUB_ACTIONS: 'true'
11+
# env:
12+
# CONDA_ENV: test-env
13+
# GITHUB_ACTIONS: 'true'
1414

15-
jobs:
16-
test:
17-
name: ${{ matrix.task }} ${{ matrix.method }} (${{ matrix.os }}, Python ${{ matrix.python_version }})
18-
runs-on: ${{ matrix.os }}
19-
timeout-minutes: 60
20-
strategy:
21-
fail-fast: false
22-
matrix:
23-
include:
24-
- os: macOS-latest
25-
task: regular
26-
python_version: '3.8'
27-
- os: macOS-latest
28-
task: sdist
29-
python_version: '3.9'
30-
- os: macOS-latest
31-
task: bdist
32-
python_version: '3.7'
33-
- os: macOS-latest
34-
task: if-else
35-
python_version: '3.8'
36-
- os: macOS-latest
37-
task: mpi
38-
method: source
39-
python_version: '3.9'
40-
- os: macOS-latest
41-
task: mpi
42-
method: pip
43-
python_version: '3.10'
44-
- os: macOS-latest
45-
task: mpi
46-
method: wheel
47-
python_version: '3.7'
48-
steps:
49-
- name: Checkout repository
50-
uses: actions/[email protected]
51-
with:
52-
fetch-depth: 5
53-
submodules: true
54-
- name: Setup and run tests
55-
shell: bash
56-
run: |
57-
export TASK="${{ matrix.task }}"
58-
export METHOD="${{ matrix.method }}"
59-
export PYTHON_VERSION="${{ matrix.python_version }}"
60-
if [[ "${{ matrix.os }}" == "macOS-latest" ]]; then
61-
export COMPILER="gcc"
62-
export OS_NAME="macos"
63-
elif [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
64-
export COMPILER="clang"
65-
export OS_NAME="linux"
66-
fi
67-
export BUILD_DIRECTORY="$GITHUB_WORKSPACE"
68-
export LGB_VER=$(head -n 1 VERSION.txt)
69-
export CONDA=${HOME}/miniforge
70-
export PATH=${CONDA}/bin:${PATH}
71-
$GITHUB_WORKSPACE/.ci/setup.sh || exit -1
72-
$GITHUB_WORKSPACE/.ci/test.sh || exit -1
73-
all-successful:
74-
# https://github.community/t/is-it-possible-to-require-all-github-actions-tasks-to-pass-without-enumerating-them/117957/4?u=graingert
75-
runs-on: ubuntu-latest
76-
needs: [test]
77-
steps:
78-
- name: Note that all tests succeeded
79-
run: echo "🎉"
15+
# jobs:
16+
# test:
17+
# name: ${{ matrix.task }} ${{ matrix.method }} (${{ matrix.os }}, Python ${{ matrix.python_version }})
18+
# runs-on: ${{ matrix.os }}
19+
# timeout-minutes: 60
20+
# strategy:
21+
# fail-fast: false
22+
# matrix:
23+
# include:
24+
# - os: macOS-latest
25+
# task: regular
26+
# python_version: '3.8'
27+
# - os: macOS-latest
28+
# task: sdist
29+
# python_version: '3.9'
30+
# - os: macOS-latest
31+
# task: bdist
32+
# python_version: '3.7'
33+
# - os: macOS-latest
34+
# task: if-else
35+
# python_version: '3.8'
36+
# - os: macOS-latest
37+
# task: mpi
38+
# method: source
39+
# python_version: '3.9'
40+
# - os: macOS-latest
41+
# task: mpi
42+
# method: pip
43+
# python_version: '3.10'
44+
# - os: macOS-latest
45+
# task: mpi
46+
# method: wheel
47+
# python_version: '3.7'
48+
# steps:
49+
# - name: Checkout repository
50+
# uses: actions/[email protected]
51+
# with:
52+
# fetch-depth: 5
53+
# submodules: true
54+
# - name: Setup and run tests
55+
# shell: bash
56+
# run: |
57+
# export TASK="${{ matrix.task }}"
58+
# export METHOD="${{ matrix.method }}"
59+
# export PYTHON_VERSION="${{ matrix.python_version }}"
60+
# if [[ "${{ matrix.os }}" == "macOS-latest" ]]; then
61+
# export COMPILER="gcc"
62+
# export OS_NAME="macos"
63+
# elif [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
64+
# export COMPILER="clang"
65+
# export OS_NAME="linux"
66+
# fi
67+
# export BUILD_DIRECTORY="$GITHUB_WORKSPACE"
68+
# export LGB_VER=$(head -n 1 VERSION.txt)
69+
# export CONDA=${HOME}/miniforge
70+
# export PATH=${CONDA}/bin:${PATH}
71+
# $GITHUB_WORKSPACE/.ci/setup.sh || exit -1
72+
# $GITHUB_WORKSPACE/.ci/test.sh || exit -1
73+
# all-successful:
74+
# # https://github.community/t/is-it-possible-to-require-all-github-actions-tasks-to-pass-without-enumerating-them/117957/4?u=graingert
75+
# runs-on: ubuntu-latest
76+
# needs: [test]
77+
# steps:
78+
# - name: Note that all tests succeeded
79+
# run: echo "🎉"

0 commit comments

Comments
 (0)