Skip to content

Commit

Permalink
Using boost 1.87 on windows runners in github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
arobenko committed Jan 8, 2025
1 parent e76ea73 commit 05008d3
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 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.87.0"
WIN_BOOST_DIR: "C:/local/boost_1_87_0"

jobs:
build_gcc_old_ubuntu_20_04:
Expand Down Expand Up @@ -560,7 +562,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 @@ -585,8 +588,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}} -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=${{env.HAS_BOOST}} ^
Expand Down Expand Up @@ -621,7 +624,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 @@ -645,7 +649,7 @@ jobs:
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_POLICY_DEFAULT_CMP0167=NEW ^
-DCMAKE_CXX_STANDARD=${{matrix.cpp}} -DUBLOX_TOOLS_QT_VER=${{matrix.qt_ver}} ^
-DUBLOX_GEN_PROTOCOL=ON -DUBLOX_GEN_TEST=ON -DUBLOX_BUILD_EXAMPLES=${{env.HAS_BOOST}} ^
-DUBLOX_SCHEMA_FILES_LIST_FILE=%GITHUB_WORKSPACE%/basic_msgs.txt
Expand Down

0 comments on commit 05008d3

Please sign in to comment.