Commit 2dc17313 authored by Eric Timmons's avatar Eric Timmons
Browse files

Try installing Visual Studio Build Tools on Windows

parent 4b4d6cb9
Pipeline #5133 failed with stages
in 5 minutes and 9 seconds
......@@ -155,6 +155,11 @@ dynamic-release:windows:amd64:
- $env:WIX = "C:\wix"
# Install deps!
- "& $BASH -lc 'pacman --noconfirm -S git mingw-w64-x86_64-gcc make tar diffutils'"
# Install Visual Studio Buildtools. See
# https://docs.microsoft.com/en-us/visualstudio/install/build-tools-container?view=vs-2019
# Needed for lib.exe (used by cffi-toolchain to make a static library).
- curl -SL --output vs_buildtools.exe https://aka.ms/vs/16/release/vs_buildtools.exe
- start /w vs_buildtools.exe --quiet --wait --norestart --nocache modify --installPath "$C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools" --add Microsoft.VisualStudio.Workload.AzureBuildTools --remove Microsoft.VisualStudio.Component.Windows10SDK.10240 --remove Microsoft.VisualStudio.Component.Windows10SDK.10586 --remove Microsoft.VisualStudio.Component.Windows10SDK.14393 --remove Microsoft.VisualStudio.Component.Windows81SDK
# Get the repo
# This looks a little funky, but only one of
# $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME and $CI_COMMIT_BRANCH will ever be
......
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