-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Windows, Ubuntu] Boost 1.72.0 will be removed from images on March, 8 #2667
Comments
For anyone who uses a header-only boost and doesn't need to compile, the following will work on macOS/Linux/Windows. Courtesy of Mudlet. env:
BOOST_ROOT: ${{github.workspace}}/3rdparty/boost
BOOST_URL: https://sourceforge.net/projects/boost/files/boost/1.72.0/boost_1_72_0.tar.bz2/download
steps:
- name: Restore Boost cache
uses: actions/cache@v2
id: cache-boost
with:
path: ${{env.BOOST_ROOT}}
key: boost
- name: Install Boost
if: steps.cache-boost.outputs.cache-hit != 'true'
run: |
if [ "$OS" == "Windows_NT" ]; then
# fix up paths to be forward slashes consistently
BOOST_ROOT=$(echo $BOOST_ROOT | sed 's/\\/\//g')
fi
mkdir -p $BOOST_ROOT
curl --progress-bar --location --output $BOOST_ROOT/download.tar.bz2 $BOOST_URL
7z -o$BOOST_ROOT x $BOOST_ROOT/download.tar.bz2 -y -bd
7z -o$BOOST_ROOT x $BOOST_ROOT/download.tar -y -bd
cd $BOOST_ROOT && cp -r boost_*/* .
rm -rf boost_*/* download.tar.bz2 download.tar
shell: bash |
Hi, Since few minutes (?), my build that requires boost 1.72 has starting to fail because boost is not found anymore. Does anything change recently and make it unavailable 2 weeks before the announced breaking change? The configure command use
This issue is present only with |
@mathbagu , no changes from our side yet. |
It appears that ADO is [removing Boost](actions/runner-images#2667). Install it manually, which has forced the dropping of another Boost version.
actions/runner-images#2667 Signed-off-by: Le Courtois Florent <[email protected]>
actions/runner-images#2667 Signed-off-by: Le Courtois Florent <[email protected]>
actions/runner-images#2667 Signed-off-by: Le Courtois Florent <[email protected]>
actions/runner-images#2667 Signed-off-by: Le Courtois Florent <[email protected]>
Fixing Github Actions config after Github removal of Boost from Actions images (actions/runner-images#2667).
Fixing Github Actions config after Github removal of Boost from Actions images (actions/runner-images#2667).
somehow boost is still present on some windows environments and not others ? I had to guard the installation (version 1 of the proposed one ) against presence of the directory, to avoid random issues and failures on some builds.
cf https://github.com/simgrid/simgrid/runs/2087441243?check_suite_focus=true edit: probably a propagation issue, it was launched on while https://github.com/adegomme/simgrid/runs/2086527977?check_suite_focus=true which was launched before on my fork was running on |
@adegomme you're right, it takes 3-4 days to propagate the new image version to all the environment. Sorry for the inconvenience |
Broken by: actions/runner-images#2667
Broken by: actions/runner-images#2667
Broken by: actions/runner-images#2667
Good |
GitHub has removed Boost from their default images. See actions/runner-images#2667 Fixes Cantera#990
actions/boost-versions has been archived, but its README just says
I would appreciate if the reason and alternative solutions are mentioned (or linked to this issue) in the description or README in the repository. |
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_64
folder.The above code snippet will install Boost to the
/opt/hostedtoolcache/boost/1.72.0/x64
folder.brew install boost
The text was updated successfully, but these errors were encountered: