File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments