Skip to content

Commit

Permalink
Testing new boost configuration in github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
arobenko committed Jan 7, 2025
1 parent e8b05c2 commit e47c720
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/actions_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ env:
COMMS_TAG: develop
COMMSDSL_TAG: develop
CC_TOOLS_QT_TAG: develop
WIN_BOOST_VERSION: "1.86.0"
WIN_BOOST_DIR: "C:/local/boost_1_86_0"

jobs:
build_gcc_old_ubuntu_20_04:
Expand Down Expand Up @@ -556,7 +558,8 @@ jobs:
if: matrix.arch == 'x64'
shell: cmd
run: |
choco install boost-msvc-14.2 --version=1.85.0
choco install boost-msvc-14.2 --version=${{env.WIN_BOOST_VERSION}}
echo BOOST_DIR=${{env.WIN_BOOST_DIR}}/lib64-msvc-14.2/cmake >>%GITHUB_ENV%
- name: Prepare externals
shell: cmd
Expand All @@ -581,8 +584,8 @@ jobs:
working-directory: ${{runner.workspace}}/build
run: |
cmake %GITHUB_WORKSPACE% -A ${{matrix.arch}} -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install ^
-DCMAKE_PREFIX_PATH="${{runner.workspace}}/build/install;${{env.QTDIR}}" ^
-DCMAKE_POLICY_DEFAULT_CMP0167=OLD -DBoost_USE_STATIC_LIBS=ON ^
-DCMAKE_PREFIX_PATH="${{runner.workspace}}/build/install;${{env.QTDIR}};${{env.BOOST_DIR}}" ^
-DCMAKE_POLICY_DEFAULT_CMP0167=NEW ^
-DCMAKE_CXX_STANDARD=${{matrix.cpp}} -DDEMO1_TOOLS_QT_VER=${{matrix.qt_ver}} ^
-DDEMO1_GEN_PROTOCOL=ON -DDEMO1_GEN_TEST=ON -DDEMO1_GEN_TOOLS=ON -DDEMO1_BUILD_TOOLS=${{env.BUILD_TOOLS}} ^
-DDEMO1_BUILD_EXAMPLES=${{env.HAS_BOOST}}
Expand Down Expand Up @@ -616,7 +619,8 @@ jobs:
if: matrix.arch == 'x64'
shell: cmd
run: |
choco install boost-msvc-14.3 --version=1.85.0
choco install boost-msvc-14.3 --version=${{env.WIN_BOOST_VERSION}}
echo BOOST_DIR=${{env.WIN_BOOST_DIR}}/lib64-msvc-14.3/cmake >>%GITHUB_ENV%
- name: Prepare externals
shell: cmd
Expand All @@ -639,8 +643,8 @@ jobs:
working-directory: ${{runner.workspace}}/build
run: |
cmake %GITHUB_WORKSPACE% -A ${{matrix.arch}} -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install ^
-DCMAKE_PREFIX_PATH="${{runner.workspace}}/build/install" ^
-DCMAKE_POLICY_DEFAULT_CMP0167=OLD -DBoost_USE_STATIC_LIBS=ON ^
-DCMAKE_PREFIX_PATH="${{runner.workspace}}/build/install;${{env.BOOST_DIR}}" ^
-DCMAKE_POLICY_DEFAULT_CMP0167=NEW ^
-DCMAKE_CXX_STANDARD=${{matrix.cpp}} -DDEMO1_TOOLS_QT_VER=${{matrix.qt_ver}} ^
-DDEMO1_GEN_PROTOCOL=ON -DDEMO1_GEN_TEST=ON -DDEMO1_BUILD_EXAMPLES=${{env.HAS_BOOST}}
env:
Expand Down

0 comments on commit e47c720

Please sign in to comment.