Skip to content

Commit a21f5df

Browse files
al42anddevajithvs
authored andcommitted
ci: fix and bump Boost download on Windows
boostorg/boost#997 And while we're at it, switch to a newer version
1 parent 6ac762d commit a21f5df

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/windows.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
id: cache-boost
2020
uses: actions/cache@v4
2121
with:
22-
path: ${{github.workspace}}/boost_1_81_0
23-
key: ${{runner.os}}-boost1810
22+
path: ${{github.workspace}}/boost_1_87_0
23+
key: ${{runner.os}}-boost1870
2424

2525
- name: Cache LLVM ${{matrix.clang}}
2626
id: cache-llvm
@@ -52,7 +52,7 @@ jobs:
5252
shell: powershell
5353
run: |
5454
$env:PATH = "$env:GITHUB_WORKSPACE\llvm\bin;$env:PATH"
55-
$boostURL = "https://boostorg.jfrog.io/artifactory/main/release/1.81.0/source/boost_1_81_0.7z"
55+
$boostURL = "https://archives.boost.io/release/1.87.0/source/boost_1_87_0.7z"
5656
$boostFolderName = $boostUrl.Split("/")[-1].Split(".")[0]
5757
Invoke-WebRequest $boostURL -OutFile boost.7z
5858
7z.exe x boost.7z
@@ -70,7 +70,7 @@ jobs:
7070
md build
7171
cd build
7272
73-
cmake .. -G Ninja -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX="$env:GITHUB_WORKSPACE/acpp_install" -DBOOST_ROOT="$env:GITHUB_WORKSPACE/boost_1_81_0" -DBoost_COMPILER=-clang17 -DBoost_ARCHITECTURE=-x64
73+
cmake .. -G Ninja -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX="$env:GITHUB_WORKSPACE/acpp_install" -DBOOST_ROOT="$env:GITHUB_WORKSPACE/boost_1_87_0" -DBoost_COMPILER=-clang17 -DBoost_ARCHITECTURE=-x64
7474
ninja install
7575
7676
- name: Build and run CPU tests
@@ -83,7 +83,7 @@ jobs:
8383
cd $env:GITHUB_WORKSPACE\tests
8484
md build
8585
cd build
86-
cmake .. -G Ninja -DCMAKE_CXX_COMPILER=clang++ -DACPP_TARGETS=omp -DBOOST_ROOT="$env:GITHUB_WORKSPACE/boost_1_81_0" -DBoost_COMPILER=-clang17 -DBoost_ARCHITECTURE=-x64 -DAdaptiveCpp_DIR="$env:GITHUB_WORKSPACE\acpp_install\lib\cmake\AdaptiveCpp"
86+
cmake .. -G Ninja -DCMAKE_CXX_COMPILER=clang++ -DACPP_TARGETS=omp -DBOOST_ROOT="$env:GITHUB_WORKSPACE/boost_1_87_0" -DBoost_COMPILER=-clang17 -DBoost_ARCHITECTURE=-x64 -DAdaptiveCpp_DIR="$env:GITHUB_WORKSPACE\acpp_install\lib\cmake\AdaptiveCpp"
8787
ninja
8888
8989
.\sycl_tests

0 commit comments

Comments
 (0)