Set CMake CUDACXX in CUDA CI runners

This commit is contained in:
William F Godoy 2022-01-28 13:14:41 -05:00
parent b8b6536859
commit ffdb0dc672
1 changed files with 9 additions and 0 deletions

View File

@ -31,6 +31,15 @@ case "$1" in
;;
esac
if [[ "${GH_JOBNAME}" =~ (-CUDA) ]]
then
echo "Set CUDACXX CMake environment variable to nvcc standard location"
export CUDACXX=/usr/local/cuda/bin/nvcc
# Make current environment variables available to subsequent steps
echo "CUDACXX=/usr/local/cuda/bin/nvcc" >> $GITHUB_ENV
fi
# Sanitizer
case "${GH_JOBNAME}" in
*"ASan"*)