Skip to content

Commit

Permalink
[CI] Replace non-functional Boost download URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
speth committed Jan 28, 2025
1 parent 9c3a57c commit 37db019
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ jobs:
timeout-minutes: 60
env:
BOOST_ROOT: ${{github.workspace}}/3rdparty/boost
BOOST_URL: https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_1_78_0.7z
BOOST_URL: https://github.com/boostorg/boost/releases/download/boost-1.87.0/boost-1.87.0-b2-nodocs.7z
strategy:
matrix:
vs-toolset: ['14.2']
Expand All @@ -743,16 +743,16 @@ jobs:
id: cache-boost
with:
path: ${{env.BOOST_ROOT}}
key: boost-178-win
key: boost-187-win

- name: Install Boost Headers
if: steps.cache-boost.outputs.cache-hit != 'true'
run: |
BOOST_ROOT=$(echo $BOOST_ROOT | sed 's/\\/\//g')
mkdir -p $BOOST_ROOT
curl --progress-bar --location --output $BOOST_ROOT/download.7z $BOOST_URL
7z -o$BOOST_ROOT x $BOOST_ROOT/download.7z -y -bd boost_1_78_0/boost
mv $BOOST_ROOT/boost_1_78_0/boost $BOOST_ROOT/boost
curl --progress-bar --location --output $BOOST_ROOT/download.7z -L $BOOST_URL
7z -o$BOOST_ROOT x $BOOST_ROOT/download.7z -y -bd boost-1.87.0/boost
mv $BOOST_ROOT/boost-1.87.0/boost $BOOST_ROOT/boost
rm $BOOST_ROOT/download.7z
shell: bash
- name: Build Cantera
Expand Down Expand Up @@ -825,7 +825,7 @@ jobs:
timeout-minutes: 120 # MinGW is slooooow
env:
BOOST_ROOT: ${{github.workspace}}/3rdparty/boost
BOOST_URL: https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_1_78_0.7z
BOOST_URL: https://github.com/boostorg/boost/releases/download/boost-1.87.0/boost-1.87.0-b2-nodocs.7z
steps:
- uses: actions/checkout@v4
name: Checkout the repository
Expand All @@ -845,7 +845,7 @@ jobs:
id: cache-boost
with:
path: ${{env.BOOST_ROOT}}
key: boost-178-win
key: boost-187-win
- name: Set up MinGW
uses: egor-tensin/setup-mingw@v2
with:
Expand All @@ -857,9 +857,9 @@ jobs:
run: |
BOOST_ROOT=$(echo $BOOST_ROOT | sed 's/\\/\//g')
mkdir -p $BOOST_ROOT
curl --progress-bar --location --output $BOOST_ROOT/download.7z $BOOST_URL
7z -o$BOOST_ROOT x $BOOST_ROOT/download.7z -y -bd boost_1_78_0/boost
mv $BOOST_ROOT/boost_1_78_0/boost $BOOST_ROOT/boost
curl --progress-bar --location --output $BOOST_ROOT/download.7z -L $BOOST_URL
7z -o$BOOST_ROOT x $BOOST_ROOT/download.7z -y -bd boost-1.87.0/boost
mv $BOOST_ROOT/boost-1.87.0/boost $BOOST_ROOT/boost
rm $BOOST_ROOT/download.7z
shell: bash
- name: Build Cantera
Expand Down

0 comments on commit 37db019

Please sign in to comment.