Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] fix CUDA 11.8 builds (fixes #6466) #6465

Merged
merged 25 commits into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
more logs
  • Loading branch information
jameslamb committed May 26, 2024
commit 3671d2a7fd457683991759fbd0a54544816bd13e
9 changes: 9 additions & 0 deletions .ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,15 @@ elif [[ $TASK == "cuda" ]]; then
exit 0
elif [[ $METHOD == "wheel" ]]; then
cd $BUILD_DIRECTORY && sh ./build-python.sh bdist_wheel --cuda || exit 1

mkdir -p ./delete-me
unzip -d ./delete-me ./dist/*.whl
echo ""
echo "--- ldd ---"
ldd -v ./delete-me/lightgbm/lib/lib_lightgbm.so
echo ""
echo ""

sh $BUILD_DIRECTORY/.ci/check_python_dists.sh $BUILD_DIRECTORY/dist || exit 1
pip install --user $BUILD_DIRECTORY/dist/lightgbm-$LGB_VER*.whl -v || exit 1
pytest $BUILD_DIRECTORY/tests/python_package_test/test_basic.py || exit 1
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ jobs:
echo "---- existing contents (${HOME}) ---"
ls -alF ${HOME}

echo "---- existing contents (${CONDA}) ---"
ls -alF ${CONDA}

# build and test
$GITHUB_WORKSPACE/.ci/setup.sh
$GITHUB_WORKSPACE/.ci/test.sh
Expand Down
Loading