Commit b17d0d0d authored by Eric Timmons's avatar Eric Timmons
Browse files

Disable windows for now

Building --with-sb-linkable-runtime is too erratic (in a Docker container, at
least). Get random build issues, typically with the contribs, sometimes with
make-target-2. Some kind of memory fault on startup most of the time.
parent 06781f51
Pipeline #3190 canceled with stages
in 11 seconds
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#
FROM mcr.microsoft.com/windows/servercore:1809
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
ENV SBCL_VERSION 2.1.2
ENV SBCL_SOURCE_SHA256 b7710550939855ed49598c4a014483ed120b6991658a2a3b6afa47713dce4c0b
RUN echo 'Saving original machine PATH'; \
$machineKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey('SYSTEM\ControlSet001\Control\Session Manager\Environment\'); \
$machinePath = $machineKey.GetValue('PATH', [string]::Empty, 'DoNotExpandEnvironmentNames').ToString(); \
$machineKey.Close(); \
\
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
echo 'Installing choco'; \
Set-ExecutionPolicy Bypass -Scope Process -Force; \
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')); \
Import-Module 'C:\ProgramData\chocolatey\helpers\chocolateyProfile.psm1'; \
\
echo 'Installing unzip'; \
choco install -y unzip; \
\
echo 'Installing WIX. As of last check, dotnet35 is broken in chocolatey'; \
Invoke-WebRequest -Uri 'https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip' -OutFile wix311-binaries.zip; \
mkdir wix/bin; \
cd wix/bin; \
unzip ../../wix311-binaries.zip; \
cd ../../; \
rm wix311-binaries.zip; \
\
echo 'Installing SBCL 1.4.14'; \
Invoke-WebRequest -Uri 'https://github.com/sbcl/sbcl/raw/master/tools-for-build/sbcl.1.4.14.nupkg' -OutFile sbcl.1.4.14.nupkg; \
choco install -y sbcl --source .; \
refreshenv; \
sbcl --version; \
sbcl --eval '(print (+ 1 2))'; \
rm sbcl.1.4.14.nupkg; \
\
echo 'Installing msys2'; \
choco install -y msys2 --params '/NoUpdate' ; \
$env:PATH = ('C:\tools\msys64\usr\bin;c:\tools\msys64\mingw64\bin;{0}' -f $env:PATH); \
\
echo 'Installing build tools'; \
pacman -S --noconfirm --needed mingw-w64-x86_64-gcc make diffutils tar; \
\
echo 'Downloading SBCL source'; \
$sbclurl = ('https://downloads.sourceforge.net/project/sbcl/sbcl/{0}/sbcl-{0}-source.tar.bz2' -f $env:SBCL_VERSION); \
Invoke-WebRequest -Uri $sbclurl -OutFile sbcl-source.tar.bz2 -UserAgent "NativeHost"; \
$actualsha256 = (Get-FileHash sbcl-source.tar.bz2 -Algorithm sha256).Hash; \
Write-Host ('Verifying sha256 {0} (expected: {1})' -f $actualsha256, $env:SBCL_SOURCE_SHA256); \
if ($actualsha256 -ne $env:SBCL_SOURCE_SHA256) { \
Write-Host 'SHA256 check FAILED!'; \
exit 1; \
}; \
\
echo 'Unpacking source'; \
sh -c 'tar -x -v -f sbcl-source.tar.bz2'; \
rm sbcl-source.tar.bz2; \
\
echo 'Building SBCL'; \
$env:WIX = '/c/wix'; \
cd sbcl-$env:SBCL_VERSION; \
sh ./make.sh --with-sb-linkable-runtime; \
sh ./make-windows-installer.sh; \
cd ..; \
\
echo 'Removing WIX.'; \
rm -r wix; \
\
echo 'Removing msys2'; \
choco uninstall -y msys2; \
Remove-Item -Force -Recurse -Path C:\tools; \
\
echo 'Removing build SBCL'; \
choco uninstall -y sbcl; \
\
echo 'Removing chocolatey'; \
Remove-Item -Force -Recurse -Path C:\ProgramData\chocolatey; \
$machineKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey('SYSTEM\ControlSet001\Control\Session Manager\Environment\', $true); \
$machineKey.SetValue('PATH', $machinePath, 'ExpandString'); \
$machineKey.Close(); \
[Environment]::SetEnvironmentVariable('ChocolateyInstall', [string]::Empty, 'User'); \
[Environment]::SetEnvironmentVariable('ChocolateyInstall', [string]::Empty, 'Machine'); \
[Environment]::SetEnvironmentVariable('ChocolateyLastPathUpdate', [string]::Empty, 'User'); \
[Environment]::SetEnvironmentVariable('ChocolateyLastPathUpdate', [string]::Empty, 'Machine'); \
[Environment]::SetEnvironmentVariable('ChocolateyToolsLocation', [string]::Empty, 'User'); \
[Environment]::SetEnvironmentVariable('ChocolateyToolsLocation', [string]::Empty, 'Machine'); \
\
echo 'Installing SBCL'; \
cp C:\sbcl-$env:SBCL_VERSION\output\sbcl-$env:SBCL_VERSION-x86-64-windows-binary.msi sbcl-installer.msi; \
Start-Process msiexec.exe -Wait -ArgumentList '/I C:\sbcl-installer.msi'; \
echo 'Removing SBCL Source'; \
Remove-Item -Force -Recurse -Path C:\sbcl-$env:SBCL_VERSION; \
Remove-Item -Force -Path C:\sbcl-installer.msi;
CMD ["sbcl"]
#
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#
FROM mcr.microsoft.com/windows/servercore:ltsc2016
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
ENV SBCL_VERSION 2.1.2
ENV SBCL_SOURCE_SHA256 b7710550939855ed49598c4a014483ed120b6991658a2a3b6afa47713dce4c0b
RUN echo 'Saving original machine PATH'; \
$machineKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey('SYSTEM\ControlSet001\Control\Session Manager\Environment\'); \
$machinePath = $machineKey.GetValue('PATH', [string]::Empty, 'DoNotExpandEnvironmentNames').ToString(); \
$machineKey.Close(); \
\
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
echo 'Installing choco'; \
Set-ExecutionPolicy Bypass -Scope Process -Force; \
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')); \
Import-Module 'C:\ProgramData\chocolatey\helpers\chocolateyProfile.psm1'; \
\
echo 'Installing unzip'; \
choco install -y unzip; \
\
echo 'Installing WIX. As of last check, dotnet35 is broken in chocolatey'; \
Invoke-WebRequest -Uri 'https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip' -OutFile wix311-binaries.zip; \
mkdir wix/bin; \
cd wix/bin; \
unzip ../../wix311-binaries.zip; \
cd ../../; \
rm wix311-binaries.zip; \
\
echo 'Installing SBCL 1.4.14'; \
Invoke-WebRequest -Uri 'https://github.com/sbcl/sbcl/raw/master/tools-for-build/sbcl.1.4.14.nupkg' -OutFile sbcl.1.4.14.nupkg; \
choco install -y sbcl --source .; \
refreshenv; \
sbcl --version; \
sbcl --eval '(print (+ 1 2))'; \
rm sbcl.1.4.14.nupkg; \
\
echo 'Installing msys2'; \
choco install -y msys2 --params '/NoUpdate' ; \
$env:PATH = ('C:\tools\msys64\usr\bin;c:\tools\msys64\mingw64\bin;{0}' -f $env:PATH); \
\
echo 'Installing build tools'; \
pacman -S --noconfirm --needed mingw-w64-x86_64-gcc make diffutils tar; \
\
echo 'Downloading SBCL source'; \
$sbclurl = ('https://downloads.sourceforge.net/project/sbcl/sbcl/{0}/sbcl-{0}-source.tar.bz2' -f $env:SBCL_VERSION); \
Invoke-WebRequest -Uri $sbclurl -OutFile sbcl-source.tar.bz2 -UserAgent "NativeHost"; \
$actualsha256 = (Get-FileHash sbcl-source.tar.bz2 -Algorithm sha256).Hash; \
Write-Host ('Verifying sha256 {0} (expected: {1})' -f $actualsha256, $env:SBCL_SOURCE_SHA256); \
if ($actualsha256 -ne $env:SBCL_SOURCE_SHA256) { \
Write-Host 'SHA256 check FAILED!'; \
exit 1; \
}; \
\
echo 'Unpacking source'; \
sh -c 'tar -x -v -f sbcl-source.tar.bz2'; \
rm sbcl-source.tar.bz2; \
\
echo 'Building SBCL'; \
$env:WIX = '/c/wix'; \
cd sbcl-$env:SBCL_VERSION; \
sh ./make.sh --with-sb-linkable-runtime; \
sh ./make-windows-installer.sh; \
cd ..; \
\
echo 'Removing WIX.'; \
rm -r wix; \
\
echo 'Removing msys2'; \
choco uninstall -y msys2; \
Remove-Item -Force -Recurse -Path C:\tools; \
\
echo 'Removing build SBCL'; \
choco uninstall -y sbcl; \
\
echo 'Removing chocolatey'; \
Remove-Item -Force -Recurse -Path C:\ProgramData\chocolatey; \
$machineKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey('SYSTEM\ControlSet001\Control\Session Manager\Environment\', $true); \
$machineKey.SetValue('PATH', $machinePath, 'ExpandString'); \
$machineKey.Close(); \
[Environment]::SetEnvironmentVariable('ChocolateyInstall', [string]::Empty, 'User'); \
[Environment]::SetEnvironmentVariable('ChocolateyInstall', [string]::Empty, 'Machine'); \
[Environment]::SetEnvironmentVariable('ChocolateyLastPathUpdate', [string]::Empty, 'User'); \
[Environment]::SetEnvironmentVariable('ChocolateyLastPathUpdate', [string]::Empty, 'Machine'); \
[Environment]::SetEnvironmentVariable('ChocolateyToolsLocation', [string]::Empty, 'User'); \
[Environment]::SetEnvironmentVariable('ChocolateyToolsLocation', [string]::Empty, 'Machine'); \
\
echo 'Installing SBCL'; \
cp C:\sbcl-$env:SBCL_VERSION\output\sbcl-$env:SBCL_VERSION-x86-64-windows-binary.msi sbcl-installer.msi; \
Start-Process msiexec.exe -Wait -ArgumentList '/I C:\sbcl-installer.msi'; \
echo 'Removing SBCL Source'; \
Remove-Item -Force -Recurse -Path C:\sbcl-$env:SBCL_VERSION; \
Remove-Item -Force -Path C:\sbcl-installer.msi;
CMD ["sbcl"]
FROM PLACEHOLDER
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
ENV SBCL_VERSION PLACEHOLDER
ENV SBCL_SOURCE_SHA256 PLACEHOLDER
RUN echo 'Saving original machine PATH'; \
$machineKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey('SYSTEM\ControlSet001\Control\Session Manager\Environment\'); \
$machinePath = $machineKey.GetValue('PATH', [string]::Empty, 'DoNotExpandEnvironmentNames').ToString(); \
$machineKey.Close(); \
\
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
echo 'Installing choco'; \
Set-ExecutionPolicy Bypass -Scope Process -Force; \
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')); \
Import-Module 'C:\ProgramData\chocolatey\helpers\chocolateyProfile.psm1'; \
\
echo 'Installing unzip'; \
choco install -y unzip; \
\
echo 'Installing WIX. As of last check, dotnet35 is broken in chocolatey'; \
Invoke-WebRequest -Uri 'https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip' -OutFile wix311-binaries.zip; \
mkdir wix/bin; \
cd wix/bin; \
unzip ../../wix311-binaries.zip; \
cd ../../; \
rm wix311-binaries.zip; \
\
echo 'Installing SBCL 1.4.14'; \
Invoke-WebRequest -Uri 'https://github.com/sbcl/sbcl/raw/master/tools-for-build/sbcl.1.4.14.nupkg' -OutFile sbcl.1.4.14.nupkg; \
choco install -y sbcl --source .; \
refreshenv; \
sbcl --version; \
sbcl --eval '(print (+ 1 2))'; \
rm sbcl.1.4.14.nupkg; \
\
echo 'Installing msys2'; \
choco install -y msys2 --params '/NoUpdate' ; \
$env:PATH = ('C:\tools\msys64\usr\bin;c:\tools\msys64\mingw64\bin;{0}' -f $env:PATH); \
\
echo 'Installing build tools'; \
pacman -S --noconfirm --needed mingw-w64-x86_64-gcc make diffutils tar; \
\
echo 'Downloading SBCL source'; \
$sbclurl = ('https://downloads.sourceforge.net/project/sbcl/sbcl/{0}/sbcl-{0}-source.tar.bz2' -f $env:SBCL_VERSION); \
Invoke-WebRequest -Uri $sbclurl -OutFile sbcl-source.tar.bz2 -UserAgent "NativeHost"; \
$actualsha256 = (Get-FileHash sbcl-source.tar.bz2 -Algorithm sha256).Hash; \
Write-Host ('Verifying sha256 {0} (expected: {1})' -f $actualsha256, $env:SBCL_SOURCE_SHA256); \
if ($actualsha256 -ne $env:SBCL_SOURCE_SHA256) { \
Write-Host 'SHA256 check FAILED!'; \
exit 1; \
}; \
\
echo 'Unpacking source'; \
sh -c 'tar -x -v -f sbcl-source.tar.bz2'; \
rm sbcl-source.tar.bz2; \
\
echo 'Building SBCL'; \
$env:WIX = '/c/wix'; \
cd sbcl-$env:SBCL_VERSION; \
sh ./make.sh --with-sb-linkable-runtime; \
sh ./make-windows-installer.sh; \
cd ..; \
\
echo 'Removing WIX.'; \
rm -r wix; \
\
echo 'Removing msys2'; \
choco uninstall -y msys2; \
Remove-Item -Force -Recurse -Path C:\tools; \
\
echo 'Removing build SBCL'; \
choco uninstall -y sbcl; \
\
echo 'Removing chocolatey'; \
Remove-Item -Force -Recurse -Path C:\ProgramData\chocolatey; \
$machineKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey('SYSTEM\ControlSet001\Control\Session Manager\Environment\', $true); \
$machineKey.SetValue('PATH', $machinePath, 'ExpandString'); \
$machineKey.Close(); \
[Environment]::SetEnvironmentVariable('ChocolateyInstall', [string]::Empty, 'User'); \
[Environment]::SetEnvironmentVariable('ChocolateyInstall', [string]::Empty, 'Machine'); \
[Environment]::SetEnvironmentVariable('ChocolateyLastPathUpdate', [string]::Empty, 'User'); \
[Environment]::SetEnvironmentVariable('ChocolateyLastPathUpdate', [string]::Empty, 'Machine'); \
[Environment]::SetEnvironmentVariable('ChocolateyToolsLocation', [string]::Empty, 'User'); \
[Environment]::SetEnvironmentVariable('ChocolateyToolsLocation', [string]::Empty, 'Machine'); \
\
echo 'Installing SBCL'; \
cp C:\sbcl-$env:SBCL_VERSION\output\sbcl-$env:SBCL_VERSION-x86-64-windows-binary.msi sbcl-installer.msi; \
Start-Process msiexec.exe -Wait -ArgumentList '/I C:\sbcl-installer.msi'; \
echo 'Removing SBCL Source'; \
Remove-Item -Force -Recurse -Path C:\sbcl-$env:SBCL_VERSION; \
Remove-Item -Force -Path C:\sbcl-installer.msi;
CMD ["sbcl"]
......@@ -72,7 +72,6 @@ for version in "${versions[@]}"; do
for v in \
buster/ \
alpine3.13/ \
windowsservercore-{1809,ltsc2016}/ \
; do
os="${v%%/*}"
variant="${v#*/}"
......@@ -136,6 +135,6 @@ for version in "${versions[@]}"; do
GitCommit: $commit
Directory: $dir
EOE
[[ "$os" == "windows"* ]] && echo "Constraints: $os"
# [[ "$os" == "windows"* ]] && echo "Constraints: $os"
done
done
......@@ -38,7 +38,6 @@ for version in "${versions[@]}"; do
for v in \
buster/ \
alpine3.13/ \
windowsservercore-{ltsc2016,1809}/ \
; do
os="${v%%/*}"
variant="${v#*/}"
......
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