File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -554,6 +554,7 @@ jobs:
554
554
QT_VER : ${{matrix.qt_ver == '5' && '5.15.3' || '6.2.2'}}
555
555
556
556
- name : Install Boost
557
+ if : matrix.arch == 'x64'
557
558
shell : cmd
558
559
run : |
559
560
choco install boost-msvc-14.2 --version=1.85.0
@@ -584,9 +585,11 @@ jobs:
584
585
-DCMAKE_PREFIX_PATH="${{runner.workspace}}/build/install;${{env.QTDIR}}" ^
585
586
-DCMAKE_POLICY_DEFAULT_CMP0167=OLD -DBoost_USE_STATIC_LIBS=ON ^
586
587
-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}}
588
590
env :
589
591
BUILD_TOOLS : " ${{ matrix.cpp >= 17 && matrix.arch == 'x64' && 'ON' || 'OFF' }}"
592
+ HAS_BOOST : " ${{ matrix.arch == 'x64' && 'ON' || 'OFF' }}"
590
593
591
594
- name : Build Target
592
595
working-directory : ${{runner.workspace}}/build
You can’t perform that action at this time.
0 commit comments