diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-12-11 16:03:55 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-02 06:43:14 +0100 |
commit | 38609a8ac8c8a30cf05a895735487da584223de7 (patch) | |
tree | eb651fb5a6678d996db5eae52301d1a95b3f51cd | |
parent | workflows: upgrade actions (diff) | |
download | cmake-common-38609a8ac8c8a30cf05a895735487da584223de7.tar.gz cmake-common-38609a8ac8c8a30cf05a895735487da584223de7.zip |
workflows: actualize runner OSes
-rw-r--r-- | .github/workflows/basic.yml | 2 | ||||
-rw-r--r-- | .github/workflows/boost_toolsets.yml | 15 | ||||
-rw-r--r-- | .github/workflows/example_toolsets.yml | 5 | ||||
-rw-r--r-- | .github/workflows/msvc_versions.yml | 8 |
4 files changed, 3 insertions, 27 deletions
diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index 2b7f1f1..9e8fd22 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -23,7 +23,7 @@ jobs: os: strategy: matrix: - os: [ubuntu-18.04, ubuntu-20.04, windows-2016, windows-2019, windows-2022, macos-10.15, macos-11] + os: [ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022, macos-11, macos-12] include: - boost-version: 1.78.0 runs-on: '${{ matrix.os }}' diff --git a/.github/workflows/boost_toolsets.yml b/.github/workflows/boost_toolsets.yml index 76131cd..670a2dc 100644 --- a/.github/workflows/boost_toolsets.yml +++ b/.github/workflows/boost_toolsets.yml @@ -14,13 +14,12 @@ jobs: matrix: boost-version: [1.58.0, 1.68.0, 1.78.0] toolset: [auto, clang, clang-cl, gcc, mingw, msvc] - os: [ubuntu-latest, windows-2016, windows-2019, windows-2022] + os: [ubuntu-latest, windows-2019, windows-2022] include: # Prettier run names. - {os: windows-2022, name: Windows 2022} - {os: windows-2019, name: Windows 2019} - - {os: windows-2016, name: Windows 2016} - {os: ubuntu-latest, name: Ubuntu} # Target platform. - {boost-version: 1.58.0, platform: x64} @@ -51,9 +50,7 @@ jobs: # versions. Clang on the other hand relies on the Microsoft linker # (at least it did at some point), so it makes sense to test it # against different Visual Studio versions. - - {os: windows-2016, toolset: gcc} - {os: windows-2019, toolset: gcc} - - {os: windows-2016, toolset: mingw} - {os: windows-2019, toolset: mingw} # clang-cl is only supported by Boost.Build since 1.69 (see the # boost_clang_windows.yml workflow). @@ -66,22 +63,12 @@ jobs: # 1) VS 2022 isn't supported by older Boost versions. It just doesn't # work, the errors are numerous. - # - # 2) 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.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: diff --git a/.github/workflows/example_toolsets.yml b/.github/workflows/example_toolsets.yml index a035bbf..9c08b3d 100644 --- a/.github/workflows/example_toolsets.yml +++ b/.github/workflows/example_toolsets.yml @@ -14,13 +14,12 @@ jobs: matrix: example: [simple, static, dynamic] toolset: [auto, clang, clang-cl, gcc, mingw, msvc] - os: [ubuntu-latest, windows-2016, windows-2019, windows-2022] + os: [ubuntu-latest, windows-2019, windows-2022] include: # Prettier run names. - {os: windows-2022, name: Windows 2022} - {os: windows-2019, name: Windows 2019} - - {os: windows-2016, name: Windows 2016} - {os: ubuntu-latest, name: Ubuntu} # Target platform. - {example: simple, platform: x64} @@ -57,9 +56,7 @@ jobs: # versions. Clang on the other hand relies on the Microsoft linker # (at least it did at some point), so it makes sense to test it # against different Visual Studio versions. - - {os: windows-2016, toolset: gcc} - {os: windows-2019, toolset: gcc} - - {os: windows-2016, toolset: mingw} - {os: windows-2019, toolset: mingw} runs-on: '${{ matrix.os }}' diff --git a/.github/workflows/msvc_versions.yml b/.github/workflows/msvc_versions.yml index aa7f59b..80dd937 100644 --- a/.github/workflows/msvc_versions.yml +++ b/.github/workflows/msvc_versions.yml @@ -13,23 +13,15 @@ jobs: strategy: matrix: toolset: - - msvc140 - - msvc141 - msvc142 - msvc143 - - vs2015 - - vs2017 - vs2019 - vs2022 include: # Runner image. - - {toolset: msvc140, os: windows-2016} - - {toolset: msvc141, os: windows-2016} - {toolset: msvc142, os: windows-2019} - {toolset: msvc143, os: windows-2022} - - {toolset: vs2015, os: windows-2016} - - {toolset: vs2017, os: windows-2016} - {toolset: vs2019, os: windows-2019} - {toolset: vs2022, os: windows-2022} |