We dropped Docker for simplicity when moving the Windows build from Azure to GitHub Actions. It probably makes sense to containerise again because the Windows build is particularly slow. See Original Dockerfile.
To do:
[ ] get working inside container
[x] docker run –rm -it -v ${PWD}:C:\data esig_builder_windows_64 and cd \data\build\Windows
We dropped Docker for simplicity when moving the Windows build from Azure to GitHub Actions. It probably makes sense to containerise again because the Windows build is particularly slow. See Original Dockerfile.
To do:
docker run –rm -it -v ${PWD}:C:\data esig_builder_windows_64
andcd \data\build\Windows
.\windows-wheel-builder.ps1 14.1 64 C:\Users\runneradmin\AppData\Local\Programs\Python\Python35 3.5.4/python-3.5.4-amd64.exe
windows-2019
GitHub VM) doesn’t exist in Docker imagewindows-wheel-builder.ps1
to fail if$py_install_dir
doesn’t existC:\Users\ContainerAdministrator\AppData\Local\Programs\Python\Python35
instead$ErrorActionPreference = “Stop”
(fails fast becausepushd
is shorthand for a cmdlet)?git-preamble.sh
MSBuild.exe
fails buildingrecombine
BuildTools\MSBuild\Microsoft\VC\v160\Microsoft.Cpp.Default.props
not founderror MSB8036: The Windows SDK version 8.1 was not found.
switch to Visual Studio 2017 (15.0) and install Windows 8.1 SDK component– recombine uses 2019Done/dropped:
mcr.microsoft.com/windows/servercore:ltsc2019
base imagebuild-wheel.ps1
monolithically to start with – can I see trace output?Invoke-WebRequest : Cannot process command because of one or more missing mandatory parameters: Uri.
indoall-windows.ps1
– add.exe
tocurl
cmake
not foundchocolatey
and use to installcmake
The CMAKE_C_COMPILER: cl is not a full path and was not found in the PATH.
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
:x: can’t find pathVSBuildTools
iex
command to downloadchoco
installer no longer works – ah, previous script resets escape to `ENTRYPOINT
withVsDevCmd.bat
windows-wheel-builder.sh
to do the bit that runs inside the container