Skip to content

Commit

Permalink
Actually switch to Boost 1.82
Browse files Browse the repository at this point in the history
CMake on GitHub Actions Windows runner does not know 1.83 yet
  • Loading branch information
gergondet committed Sep 7, 2023
1 parent 66b0b8d commit c55bbac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions utils/get-boost.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function DownloadFileWithRetry
Get-FileHash $Out | Format-List
}
}
$Url = "https://boostorg.jfrog.io/artifactory/main/release/1.83.0/binaries/boost_1_83_0-msvc-14.3-64.exe"
$Url = "https://boostorg.jfrog.io/artifactory/main/release/1.82.0/binaries/boost_1_82_0-msvc-14.3-64.exe"
$Out = "$env:TEMP\boost.exe"
DownloadFileWithRetry -Url "$Url" -Out "$Out"
Start-Process -Wait -FilePath "$Out" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=C:\hostedtoolcache\windows\Boost\1.83.0\x86_64"
Start-Process -Wait -FilePath "$Out" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=C:\hostedtoolcache\windows\Boost\1.82.0\x86_64"
2 changes: 1 addition & 1 deletion utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async function setup_boost()
if(!BOOST_ROOT.length)
{
await exec.exec('powershell.exe', [`${__dirname}\\get-boost.ps1`]);
BOOST_ROOT = "C:\\hostedtoolcache\\windows\\Boost\\1.83.0\\x86_64";
BOOST_ROOT = "C:\\hostedtoolcache\\windows\\Boost\\1.82.0\\x86_64";
core.exportVariable('BOOST_ROOT', BOOST_ROOT);
}
PATH = process.env.PATH;
Expand Down

0 comments on commit c55bbac

Please sign in to comment.