Skip to content

Commit d8d13e9

Browse files
authored
Merge pull request #64 from SimonRit/SkipAutomaticLocation
COMP: Do not change location when launching VS development shell
2 parents 85252b5 + 1514c2c commit d8d13e9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build-test-cxx.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
run: |
110110
Set-PSDebug -Trace 1
111111
cd ..
112-
& "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Launch-VsDevShell.ps1" -Arch amd64
112+
& "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Launch-VsDevShell.ps1" -Arch amd64 -SkipAutomaticLocation
113113
mkdir ITK-build
114114
cd ITK-build
115115
@@ -192,5 +192,5 @@ jobs:
192192
if: matrix.os == 'windows-2022'
193193
shell: pwsh
194194
run: |
195-
& "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Launch-VsDevShell.ps1" -Arch amd64
195+
& "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Launch-VsDevShell.ps1" -Arch amd64 -SkipAutomaticLocation
196196
ctest --output-on-failure -j 2 -V -S dashboard.cmake ${{ inputs.ctest-options }}

.github/workflows/build-test-package-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ jobs:
236236
if (Test-Path dist) { rm dist -r -fo }
237237
238238
cd ../../im
239-
& "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Launch-VsDevShell.ps1" -Arch amd64
239+
& "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Launch-VsDevShell.ps1" -Arch amd64 -SkipAutomaticLocation
240240
$env:CC="cl.exe"
241241
$env:CXX="cl.exe"
242242
$env:ITK_PACKAGE_VERSION = "${{ inputs.itk-wheel-tag }}"

0 commit comments

Comments
 (0)