Breaking changes
Boost 1.72.0 will be removed from Windows and Ubuntu images. Please note that 1.72.0 is the single version of Boost pre-installed on images.
Target date
Image deployment will start March, 8 and will take 3-4 days.
The motivation for the changes
We are going to deprecate Boost due to lack of free space on images, maintenance concerns and low popularity.
Possible impact
If your project depends on Boost 1.72.0 — build will be broken.
Virtual environments affected
What's the future of Boost?
We don't have plans to install any version of Boost on the images. Please see details in this issue: #2425
Please note the actions/boost-versions repository will not be maintained in the future.
Mitigation ways
If you need to continue using Boost 1.72.0 in your build, please consider the following ways to install it in runtime:
- Windows
# Use the boost-1.72.0-win32-msvc14.1-x86_64.tar.gz for Windows 2016
$url = "https://github.com/actions/boost-versions/releases/download/1.72.0-20200608.4/boost-1.72.0-win32-msvc14.2-x86_64.tar.gz"
(New-Object System.Net.WebClient).DownloadFile($url, "$env:TEMP\boost.tar.gz")
7z.exe x "$env:TEMP\boost.tar.gz" -o"$env:TEMP\boostArchive" -y | Out-Null
7z.exe x "$env:TEMP\boostArchive" -o"$env:TEMP\boost" -y | Out-Null
Push-Location -Path "$env:TEMP\boost"
Invoke-Expression .\setup.ps1
The above code snippet will install Boost to the C:\hostedtoolcache\windows\Boost\1.72.0\x86_64 folder.
# Use the boost_1_72_0-msvc-14.1-64.exe for Windows 2016
$Url = "https://sourceforge.net/projects/boost/files/boost-binaries/1.72.0/boost_1_72_0-msvc-14.2-64.exe"
(New-Object System.Net.WebClient).DownloadFile($Url, "$env:TEMP\boost.exe")
Start-Process -Wait -FilePath "$env:TEMP\boost.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=C:\hostedtoolcache\windows\Boost\1.72.0\x86_64"
- Ubuntu:
# Use the boost-1.72.0-linux-16.04-gcc-x64.tar.gz for Ubuntu 16.04
$url = "https://github.com/actions/boost-versions/releases/download/1.72.0-20200608.4/boost-1.72.0-linux-18.04-gcc-x64.tar.gz"
(New-Object System.Net.WebClient).DownloadFile($url, "/tmp/boost.tar.gz")
mkdir "/tmp/boost"
tar -xzf "/tmp/boost.tar.gz" -C "/tmp/boost"
Push-Location -Path "/tmp/boost"
Invoke-Expression "bash ./setup.sh"
The above code snippet will install Boost to the /opt/hostedtoolcache/boost/1.72.0/x64 folder.
- macOS: install via
brew install boost
Breaking changes
Boost 1.72.0 will be removed from Windows and Ubuntu images. Please note that 1.72.0 is the single version of Boost pre-installed on images.
Target date
Image deployment will start March, 8 and will take 3-4 days.
The motivation for the changes
We are going to deprecate Boost due to lack of free space on images, maintenance concerns and low popularity.
Possible impact
If your project depends on Boost 1.72.0 — build will be broken.
Virtual environments affected
What's the future of Boost?
We don't have plans to install any version of Boost on the images. Please see details in this issue: #2425
Please note the actions/boost-versions repository will not be maintained in the future.
Mitigation ways
If you need to continue using Boost 1.72.0 in your build, please consider the following ways to install it in runtime:
The above code snippet will install Boost to the
C:\hostedtoolcache\windows\Boost\1.72.0\x86_64folder.The above code snippet will install Boost to the
/opt/hostedtoolcache/boost/1.72.0/x64folder.brew install boost