Skip to content

Commit

Permalink
Test windows py311
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman committed Feb 10, 2023
1 parent b7c47c5 commit ee2761f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/scripts/validate_binaries.sh
Expand Up @@ -3,7 +3,7 @@ if [[ ${MATRIX_PACKAGE_TYPE} == "libtorch" ]]; then
unzip libtorch.zip
else
#special case for Python 3.11
if [ $MATRIX_PYTHON_VERSION == '3.11' ]; then
if [ $MATRIX_PYTHON_VERSION == '3.11' && ${TARGET_OS} != 'windows']; then
export CPYTHON_VERSIONS=3.11.0
sudo yum -y install openssl-devel libssl-dev bzip2-devel libffi-devel
sudo yum -y groupinstall "Development Tools"
Expand All @@ -15,6 +15,12 @@ else
eval ${PYTHON_PATH}/python --version
eval ${PIP_INSTALLATION}
eval ${PYTHON_PATH}/python ./test/smoke_test/smoke_test.py --package torchonly
#special case for Python 3.11
elif [ $MATRIX_PYTHON_VERSION == '3.11' && ${TARGET_OS} == 'windows']; then
conda create -y -n ${ENV_NAME} python=${MATRIX_PYTHON_VERSION}
conda activate ${ENV_NAME}
eval $MATRIX_INSTALLATION
eval ${PYTHON_PATH}/python ./test/smoke_test/smoke_test.py --package torchonly
else

# Special case Pypi installation package, only applicable to linux nightly CUDA 11.7 builds, wheel package
Expand Down

0 comments on commit ee2761f

Please sign in to comment.