Skip to content

Commit fd159f3

Browse files
committed
Forcing usage of boost v1.85 in "windows-2019" runner of github actions.
1 parent d37f677 commit fd159f3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/actions_build.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,7 @@ jobs:
554554
QT_VER: ${{matrix.qt_ver == '5' && '5.15.3' || '6.2.2'}}
555555

556556
- name: Install Boost
557+
if: matrix.arch == 'x64'
557558
shell: cmd
558559
run: |
559560
choco install boost-msvc-14.2 --version=1.85.0
@@ -584,9 +585,11 @@ jobs:
584585
-DCMAKE_PREFIX_PATH="${{runner.workspace}}/build/install;${{env.QTDIR}}" ^
585586
-DCMAKE_POLICY_DEFAULT_CMP0167=OLD -DBoost_USE_STATIC_LIBS=ON ^
586587
-DCMAKE_CXX_STANDARD=${{matrix.cpp}} -DDEMO3_TOOLS_QT_VER=${{matrix.qt_ver}} ^
587-
-DDEMO3_GEN_PROTOCOL=ON -DDEMO3_GEN_TEST=ON -DDEMO3_GEN_TOOLS=ON -DDEMO3_BUILD_TOOLS=${{env.BUILD_TOOLS}}
588+
-DDEMO3_GEN_PROTOCOL=ON -DDEMO3_GEN_TEST=ON -DDEMO3_GEN_TOOLS=ON -DDEMO3_BUILD_TOOLS=${{env.BUILD_TOOLS}} ^
589+
-DDEMO3_BUILD_EXAMPLES=${{env.HAS_BOOST}}
588590
env:
589591
BUILD_TOOLS: "${{ matrix.cpp >= 17 && matrix.arch == 'x64' && 'ON' || 'OFF' }}"
592+
HAS_BOOST: "${{ matrix.arch == 'x64' && 'ON' || 'OFF' }}"
590593

591594
- name: Build Target
592595
working-directory: ${{runner.workspace}}/build

0 commit comments

Comments
 (0)