Skip to content

Commit dc786f9

Browse files
committed
Forward boost for windows builds.
1 parent fc2a847 commit dc786f9

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/actions/ci/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ runs:
4949
run: ./scripts/build.sh ${{ inputs.cmake_target }} ON
5050
env:
5151
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
52+
Boost_DIR: ${{ steps.install-boost.outputs.Boost_DIR }}
5253
OPENSSL_ROOT_DIR: ${{ steps.install-openssl.outputs.OPENSSL_ROOT_DIR }}
5354
- name: Build Tests
5455
id: build-tests
@@ -57,6 +58,7 @@ runs:
5758
run: ./scripts/build.sh gtest_${{ inputs.cmake_target }} ON
5859
env:
5960
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
61+
Boost_DIR: ${{ steps.install-boost.outputs.Boost_DIR }}
6062
OPENSSL_ROOT_DIR: ${{ steps.install-openssl.outputs.OPENSSL_ROOT_DIR }}
6163
- name: Run Tests
6264
if: steps.build-tests.outcome == 'success'

.github/workflows/client.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ jobs:
5858
- uses: ilammy/msvc-dev-cmd@v1
5959
- uses: ./.github/actions/ci
6060
env:
61-
BOOST_LIBRARY_DIR: 'C:\local\boost_1_81_0\lib64-msvc-14.3'
62-
BOOST_LIBRARYDIR: 'C:\local\boost_1_81_0\lib64-msvc-14.3'
61+
BOOST_LIBRARY_DIR: 'C:\local\boost_1_87_0\lib64-msvc-14.3'
62+
BOOST_LIBRARYDIR: 'C:\local\boost_1_87_0\lib64-msvc-14.3'
63+
Boost_DIR: 'C:\local\boost_1_87_0\lib64-msvc-14.3\cmake\Boost-1.87.0'
6364
with:
6465
cmake_target: launchdarkly-cpp-client
6566
platform_version: 2022

.github/workflows/cmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- uses: ilammy/msvc-dev-cmd@v1
3838
- uses: ./.github/actions/cmake-test
3939
env:
40-
BOOST_ROOT: 'C:\local\boost_1_81_0\lib64-msvc-14.3'
40+
Boost_DIR: 'C:\local\boost_1_87_0\lib64-msvc-14.3\cmake\Boost-1.87.0'
4141
with:
4242
platform_version: 2022
4343
toolset: msvc

0 commit comments

Comments
 (0)