Commit 93835278 authored by Matt Clarkson's avatar Matt Clarkson

Issue #1: Windows directory delete not working yet in powershell.

parent 94341a4b
Pipeline #4087 canceled with stages
in 20 minutes and 59 seconds
......@@ -124,7 +124,7 @@ windows build:
- hostname
- whoami
- cmake -version
- if (Test-Path ${Env:sb_dir}) { Remove-Item ${Env:sb_dir} -Recurse -Force; }
- if (Test-Path ${Env:sb_dir} ) { Remove-Item -Recurse -Force ${Env:sb_dir} }
- mkdir ${Env:sb_dir}
- cd ${Env:sb_dir}
- python.exe -m venv continuousenv
......@@ -187,5 +187,5 @@ windows cleanup:
script:
- ${Env:sb_dir} = "C:\gitlab-runner\scikit-surgerygpucpp-sb"
- Remove-Item ${Env:sb_dir} -Recurse -Force
- Remove-Item -Recurse -Force ${Env:sb_dir}
- if ($LastExitCode -ne 0) {throw $LastExitCode}
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