Commit 6d420050 authored by Quan (Andy) Gan's avatar Quan (Andy) Gan Committed by VoVAllen
Browse files

[WIP][CI] Build Windows packages within virtualenv (#709)

* try venv for win64

* update

* update

* trying another

* update

* update

* update

* trigger ci

* update

* update
parent 9cc83b4b
......@@ -293,4 +293,11 @@ pipeline {
}
}
}
post {
always {
node('windows') {
bat "rmvirtualenv ${BUILD_TAG}"
}
}
}
}
@ECHO OFF
SETLOCAL EnableDelayedExpansion
CALL mkvirtualenv --system-site-packages %BUILD_TAG%
DEL /S /Q build
DEL /S /Q _download
MD build
......@@ -15,7 +16,7 @@ POPD
PUSHD python
DEL /S /Q build *.egg-info dist
pip install -e . --force-reinstall --user || EXIT /B 1
pip install -e . || EXIT /B 1
POPD
ENDLOCAL
......
......@@ -15,6 +15,7 @@ IF x%1x==xx (
ECHO Must supply CPU or GPU
GOTO :FAIL
)
CALL workon %BUILD_TAG%
SET DGLBACKEND=pytorch
SET DGL_LIBRARY_PATH=!CD!\build
......
......@@ -7,6 +7,7 @@ IF x%1x==xx (
) ELSE (
SET BACKEND=%1
)
CALL workon %BUILD_TAG%
SET PYTHONPATH=tests;!CD!\python;!PYTHONPATH!
SET DGLBACKEND=!BACKEND!
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment