Skip to content

Commit

Permalink
Update Boost download URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Jan 3, 2025
1 parent 801e609 commit 954bf23
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 16 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ jobs:
variant: sccache
- name: Setup
run: |
$Url = "https://boostorg.jfrog.io/artifactory/main/release/1.85.0/binaries/boost_1_85_0-msvc-14.3-64.exe"
(New-Object System.Net.WebClient).DownloadFile($Url, "$RUNNER_TEMP\boost.exe")
Start-Process -Wait -FilePath "$RUNNER_TEMP\boost.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=C:\local\boost"
$Url = "https://archives.boost.io/release/1.85.0/source/boost_1_85_0.zip"
(New-Object System.Net.WebClient).DownloadFile($Url, "$RUNNER_TEMP\boost.zip")
Expand-Archive -Path "$RUNNER_TEMP\boost.zip" -DestinationPath C:\local
Rename-Item -Path "C:\local\boost_1_85_0" -NewName "boost"
$Url = "https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-win.zip"
(New-Object System.Net.WebClient).DownloadFile($Url, "$RUNNER_TEMP\ninja-win.zip")
Expand-Archive -Path "$RUNNER_TEMP\ninja-win.zip" -DestinationPath C:\local\ninja
Expand Down Expand Up @@ -117,9 +118,10 @@ jobs:
variant: sccache
- name: Setup
run: |
$Url = "https://boostorg.jfrog.io/artifactory/main/release/1.85.0/binaries/boost_1_85_0-msvc-14.3-64.exe"
(New-Object System.Net.WebClient).DownloadFile($Url, "$RUNNER_TEMP\boost.exe")
Start-Process -Wait -FilePath "$RUNNER_TEMP\boost.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=C:\local\boost"
$Url = "https://archives.boost.io/release/1.85.0/source/boost_1_85_0.zip"
(New-Object System.Net.WebClient).DownloadFile($Url, "$RUNNER_TEMP\boost.zip")
Expand-Archive -Path "$RUNNER_TEMP\boost.zip" -DestinationPath C:\local
Rename-Item -Path "C:\local\boost_1_85_0" -NewName "boost"
$Url = "https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-win.zip"
(New-Object System.Net.WebClient).DownloadFile($Url, "$RUNNER_TEMP\ninja-win.zip")
Expand-Archive -Path "$RUNNER_TEMP\ninja-win.zip" -DestinationPath C:\local\ninja
Expand Down Expand Up @@ -159,9 +161,10 @@ jobs:
variant: sccache
- name: Setup
run: |
$Url = "https://boostorg.jfrog.io/artifactory/main/release/1.85.0/binaries/boost_1_85_0-msvc-14.3-64.exe"
(New-Object System.Net.WebClient).DownloadFile($Url, "$RUNNER_TEMP\boost.exe")
Start-Process -Wait -FilePath "$RUNNER_TEMP\boost.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=C:\local\boost"
$Url = "https://archives.boost.io/release/1.85.0/source/boost_1_85_0.zip"
(New-Object System.Net.WebClient).DownloadFile($Url, "$RUNNER_TEMP\boost.zip")
Expand-Archive -Path "$RUNNER_TEMP\boost.zip" -DestinationPath C:\local
Rename-Item -Path "C:\local\boost_1_85_0" -NewName "boost"
$Url = "https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-win.zip"
(New-Object System.Net.WebClient).DownloadFile($Url, "$RUNNER_TEMP\ninja-win.zip")
Expand-Archive -Path "$RUNNER_TEMP\ninja-win.zip" -DestinationPath C:\local\ninja
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/msvc-all-configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
vsversion: ${{ matrix.vsversion }}
- name: Setup Boost
run: |
$Url = "https://boostorg.jfrog.io/artifactory/main/release/1.${{ matrix.boost_version }}.0/source/boost_1_${{ matrix.boost_version }}_0.zip"
$Url = "https://archives.boost.io/release/1.${{ matrix.boost_version }}.0/source/boost_1_${{ matrix.boost_version }}_0.zip"
(New-Object System.Net.WebClient).DownloadFile($Url, "$RUNNER_TEMP\boost.zip")
Expand-Archive -Path "$RUNNER_TEMP\boost.zip" -DestinationPath C:\local
Rename-Item -Path "C:\local\boost_1_${{ matrix.boost_version }}_0" -NewName "boost"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/msvc-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ jobs:

- name: Setup
run: |
$Url = "https://boostorg.jfrog.io/artifactory/main/release/1.85.0/binaries/boost_1_85_0-msvc-14.3-64.exe"
(New-Object System.Net.WebClient).DownloadFile($Url, "$RUNNER_TEMP\boost.exe")
Start-Process -Wait -FilePath "$RUNNER_TEMP\boost.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=C:\local\boost"
$Url = "https://archives.boost.io/release/1.85.0/source/boost_1_85_0.zip"
(New-Object System.Net.WebClient).DownloadFile($Url, "$RUNNER_TEMP\boost.zip")
Expand-Archive -Path "$RUNNER_TEMP\boost.zip" -DestinationPath C:\local
Rename-Item -Path "C:\local\boost_1_85_0" -NewName "boost"
- name: Configure CMake
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/msvc-nondefault.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
vsversion: ${{ matrix.vsversion }}
- name: Setup Boost
run: |
$Url = "https://boostorg.jfrog.io/artifactory/main/release/1.${{ matrix.boost_version }}.0/source/boost_1_${{ matrix.boost_version }}_0.zip"
$Url = "https://archives.boost.io/release/1.${{ matrix.boost_version }}.0/source/boost_1_${{ matrix.boost_version }}_0.zip"
(New-Object System.Net.WebClient).DownloadFile($Url, "$RUNNER_TEMP\boost.zip")
Expand-Archive -Path "$RUNNER_TEMP\boost.zip" -DestinationPath C:\local
Rename-Item -Path "C:\local\boost_1_${{ matrix.boost_version }}_0" -NewName "boost"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
vsversion: ${{ matrix.vsversion }}
- name: Setup Boost
run: |
$Url = "https://boostorg.jfrog.io/artifactory/main/release/1.${{ matrix.boost_version }}.0/source/boost_1_${{ matrix.boost_version }}_0.zip"
$Url = "https://archives.boost.io/release/1.${{ matrix.boost_version }}.0/source/boost_1_${{ matrix.boost_version }}_0.zip"
(New-Object System.Net.WebClient).DownloadFile($Url, "$RUNNER_TEMP\boost.zip")
Expand-Archive -Path "$RUNNER_TEMP\boost.zip" -DestinationPath C:\local
Rename-Item -Path "C:\local\boost_1_${{ matrix.boost_version }}_0" -NewName "boost"
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/ci.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ARG boost_version
ARG boost_dir
ENV boost_version ${boost_version}

RUN wget https://boostorg.jfrog.io/artifactory/main/release/${boost_version}/source/${boost_dir}.tar.gz \
RUN wget https://archives.boost.io/release/${boost_version}/source/${boost_dir}.tar.gz \
&& tar xfz ${boost_dir}.tar.gz \
&& rm ${boost_dir}.tar.gz \
&& cd ${boost_dir} \
Expand Down

0 comments on commit 954bf23

Please sign in to comment.