diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-12-17 14:53:10 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-12-18 16:52:30 +0300 |
commit | 6fa03f8a8e85f56b5b889130dc0d15989687c0fb (patch) | |
tree | 6104ef1a04a04e543ce8eea92a555a126f29f029 | |
parent | actions/check-boost-bootstrapped: only print bootstrap.log if it's there (diff) | |
download | cmake-common-6fa03f8a8e85f56b5b889130dc0d15989687c0fb.tar.gz cmake-common-6fa03f8a8e85f56b5b889130dc0d15989687c0fb.zip |
workflows/boost_toolsets: VS 2022 isn't supported by older Boosts
-rw-r--r-- | .github/workflows/boost_toolsets.yml | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/.github/workflows/boost_toolsets.yml b/.github/workflows/boost_toolsets.yml index d7c6fc4..5e0ccb0 100644 --- a/.github/workflows/boost_toolsets.yml +++ b/.github/workflows/boost_toolsets.yml @@ -12,7 +12,7 @@ jobs: build: strategy: matrix: - boost-version: [1.58.0, 1.65.0, 1.72.0] + boost-version: [1.58.0, 1.65.0, 1.72.0, 1.78.0] toolset: [auto, clang, clang-cl, gcc, mingw, msvc] cygwin: [0, 1] os: [ubuntu-latest, windows-2016, windows-2019, windows-2022] @@ -28,10 +28,12 @@ jobs: - {boost-version: 1.58.0, platform: x64} - {boost-version: 1.65.0, platform: x86} - {boost-version: 1.72.0, platform: x64} + - {boost-version: 1.78.0, platform: x86} # Configuration. - {boost-version: 1.58.0, configuration: Debug} - {boost-version: 1.65.0, configuration: MinSizeRel} - {boost-version: 1.72.0, configuration: Release} + - {boost-version: 1.78.0, configuration: RelWithDebInfo} # Some Boost libraries commonly used by me. - libraries: filesystem program_options regex system test @@ -99,12 +101,30 @@ jobs: # undefined reference to `__chkstk_ms' # # error when building with Clang. + # + # 3) VS 2022 isn't supported by older Boost versions. It just doesn't + # work, the errors are numerous. + # + # 4) clang-cl on windows-2016 fails to build the latest Boost. The error + # is + # + # LINK : fatal error LNK1171: unable to load mspdbcore.dll (error code: 193) + # + # No idea what's up with that. continue-on-error: ${{ (matrix.cygwin == '1' && matrix.boost-version == '1.58.0' && (matrix.toolset == 'auto' || matrix.toolset == 'gcc' || matrix.toolset == 'mingw')) || (matrix.cygwin == '1' && matrix.platform == 'x86') + || (matrix.os == 'windows-2022' + && (matrix.toolset == 'auto' + || matrix.toolset == 'clang-cl' + || matrix.toolset == 'msvc') + && matrix.boost-version < '1.78.0') + || (matrix.os == 'windows-2016' + && matrix.toolset == 'clang-cl' + && matrix.boost-version == '1.78.0') }} defaults: |