From 149c159f9239df0e0b9acbc1987505797d29e351 Mon Sep 17 00:00:00 2001 From: Alex Robenko Date: Fri, 27 Sep 2024 13:23:37 +1000 Subject: [PATCH] Forcing usage of boost v1.85 in "windows-2019" runner of github actions. --- .github/workflows/actions_build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/actions_build.yml b/.github/workflows/actions_build.yml index 09abb60..9679c3c 100644 --- a/.github/workflows/actions_build.yml +++ b/.github/workflows/actions_build.yml @@ -556,9 +556,10 @@ jobs: QT_VER: ${{matrix.qt_ver == '5' && '5.15.3' || '6.2.2'}} - name: Install Boost + if: matrix.arch == 'x64' shell: cmd run: | - choco install boost-msvc-14.2 + choco install boost-msvc-14.2 --version=1.85.0 - name: Prepare externals shell: cmd @@ -587,10 +588,11 @@ jobs: -DCMAKE_POLICY_DEFAULT_CMP0167=OLD -DBoost_USE_STATIC_LIBS=ON ^ -DCMAKE_CXX_STANDARD=${{matrix.cpp}} -DUBLOX_TOOLS_QT_VER=${{matrix.qt_ver}} ^ -DUBLOX_GEN_PROTOCOL=ON -DUBLOX_GEN_TEST=ON -DUBLOX_GEN_TOOLS=ON -DUBLOX_BUILD_TOOLS=${{env.BUILD_TOOLS}} ^ - -DUBLOX_BUILD_EXAMPLES=ON ^ + -DUBLOX_BUILD_EXAMPLES=${{env.HAS_BOOST}} ^ -DUBLOX_SCHEMA_FILES_LIST_FILE=%GITHUB_WORKSPACE%/basic_msgs.txt env: BUILD_TOOLS: "${{ matrix.cpp >= 17 && matrix.arch == 'x64' && 'ON' || 'OFF' }}" + HAS_BOOST: "${{ matrix.arch == 'x64' && 'ON' || 'OFF' }}" - name: Build Target working-directory: ${{runner.workspace}}/build