Commit ced85c42 authored by Matt Clarkson's avatar Matt Clarkson

Issue #1: Try fixing Windows delete dir.

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