diff --git a/.github/workflows/testwindows.yml b/.github/workflows/testwindows.yml index efe1b2c73a..8d321edc86 100644 --- a/.github/workflows/testwindows.yml +++ b/.github/workflows/testwindows.yml @@ -154,15 +154,18 @@ jobs: cmake -B build -G $env:VS_VERSION -S . $env:CMAKE_INSTALL_PREFIX -DCMAKE_BUILD_TYPE=Release ` -DBAG_BUILD_TESTS:BOOL=ON -DBAG_CI=ON cmake --build build --config Release --target install - # Build and install bagPy Python wheel - $activate_cmd="$env:BAG_INSTALL_PATH\Scripts\Activate.ps1" - dir $activate_cmd - echo "Attempting to activate Python environment using script: $activate_cmd ..." - & $activate_cmd - python -m pip install --upgrade pip - python -m pip install -r requirements.txt - $env:CMAKE_PREFIX_PATH=$env:BAG_INSTALL_PATH - $env:LIBXML2_LIBRARY="$env:BAG_INSTALL_PATH\Lib" - $env:LIBXML2_INCLUDE_DIR="$env:BAG_INSTALL_PATH\Include\libxml2" - python -m pip wheel -w .\wheel\ .\build\api\swig\python - python -m pip install .\wheel\bagPy-*.whl + # TODO: Build and install bagPy Python wheel + # $activate_cmd="$env:BAG_INSTALL_PATH\Scripts\Activate.ps1" + # dir $activate_cmd + # echo "Attempting to activate Python environment using script: $activate_cmd ..." + # & $activate_cmd + # python -m pip install --upgrade pip + # python -m pip install -r requirements.txt + # $env:CMAKE_PREFIX_PATH=$env:BAG_INSTALL_PATH + # $env:LIBXML2_LIBRARY="$env:BAG_INSTALL_PATH\Lib" + # $env:LIBXML2_INCLUDE_DIR="$env:BAG_INSTALL_PATH\Include\libxml2" + # python -m pip wheel -w .\wheel\ .\build\api\swig\python + # python -m pip install .\wheel\bagPy-*.whl + # Run C++ tests + $env:BAG_SAMPLES_PATH="$env:GITHUB_WORKSPACE\examples\sample-data" + .\build\tests\bag_tests