From 3f0c41a23d14a3f3d519fc9d3031e2411bceea3b Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Tue, 4 Feb 2020 06:44:19 +0900 Subject: [PATCH] ARROW-7726: [CI] [C++] Use boost binaries on Windows GHA build The binaries are installed using Chocolatey, which takes a bit of time (it's a 2+GB install...), but less so than recompiling Boost from scratch during the CMake build. [skip appveyor] Closes #6325 from pitrou/ARROW-7726-download-boost-gha and squashes the following commits: e877622b9 Revert "Try a more flexible way of finding Boost" eb5db8fc1 Try a more flexible way of finding Boost d57064960 ARROW-7726: Use boost binaries on Windows GHA build Authored-by: Antoine Pitrou Signed-off-by: Sutou Kouhei --- .github/workflows/cpp.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml index abc3b8f4d91e1..cf746c327db89 100644 --- a/.github/workflows/cpp.yml +++ b/.github/workflows/cpp.yml @@ -175,10 +175,15 @@ jobs: ARROW_BUILD_STATIC: OFF ARROW_BOOST_USE_SHARED: OFF ARROW_VERBOSE_THIRDPARTY_BUILD: OFF - BOOST_SOURCE: BUNDLED + BOOST_ROOT: C:\local\boost_1_67_0 + BOOST_LIBRARYDIR: C:\local\boost_1_67_0\lib64-msvc-14.1\ steps: - name: Disable Crash Dialogs run: reg add "HKCU\SOFTWARE\Microsoft\Windows\Windows Error Reporting" /v DontShowUI /t REG_DWORD /d 1 /f + - name: Installed Packages + run: choco list -l + - name: Install Boost + run: choco install -y boost-msvc-14.1 - name: Checkout Arrow uses: actions/checkout@v1 with: