Skip to content

Commit bfecb56

Browse files
committed
another windows build fix test
1 parent 45064fd commit bfecb56

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,14 @@ jobs:
6161
if: matrix.os == 'windows-latest'
6262
shell: powershell
6363
run: |
64-
# Use the Developer PowerShell module to set up the environment
64+
# Import the module and enter the shell with minimal arguments
6565
Import-Module "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
66-
Enter-VsDevShell -VsInstallPath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise" -SkipAutomaticDevShell -DevShellArguments "-arch x64"
66+
Enter-VsDevShell -VsInstallPath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise" -Arch x64
6767
68-
# Now run the build using bash
68+
# Verify we have swift and the linker in the same environment
69+
swift --version
70+
71+
# Run the build
6972
bash ./build.sh
7073
7174
- name: Verify library was built

0 commit comments

Comments
 (0)