2
0
mirror of https://github.com/boostorg/nowide.git synced 2026-01-19 04:22:12 +00:00

GHA: Remove Windows 2019 runners

This commit is contained in:
Alexander Grund
2025-07-02 09:14:28 +02:00
parent f356685872
commit 6d49bc161b
2 changed files with 7 additions and 7 deletions

View File

@@ -342,8 +342,8 @@ jobs:
include:
- { os: ubuntu-latest, build_shared: ON, build_type: Debug, generator: 'Unix Makefiles' }
- { os: ubuntu-latest, build_shared: OFF, build_type: Debug, generator: 'Unix Makefiles' }
- { os: windows-2019, build_shared: ON, build_type: Debug, generator: 'Visual Studio 16 2019' }
- { os: windows-2019, build_shared: OFF, build_type: Debug, generator: 'Visual Studio 16 2019' }
- { os: windows-2022, build_shared: ON, build_type: Debug, generator: 'Visual Studio 17 2022' }
- { os: windows-2022, build_shared: OFF, build_type: Debug, generator: 'Visual Studio 17 2022' }
timeout-minutes: 120
runs-on: ${{matrix.os}}

View File

@@ -1,4 +1,4 @@
# Copyright 2019 - 2024 Alexander Grund
# Copyright 2019 - 2025 Alexander Grund
# Distributed under the Boost Software License, Version 1.0.
# https://www.boost.org/LICENSE_1_0.txt
@@ -31,16 +31,16 @@ jobs:
shell: bash
strategy:
matrix:
os: [ubuntu-22.04, windows-2019]
os: [ubuntu-22.04, windows-2022]
buildType: [Debug, Release]
standalone: [Boost, Standalone]
shared_lib: [ON, OFF]
generator: ['Visual Studio 16 2019', 'MinGW Makefiles', 'Unix Makefiles']
generator: ['Visual Studio 17 2022', 'MinGW Makefiles', 'Unix Makefiles']
exclude:
- os: ubuntu-22.04
generator: MinGW Makefiles
- os: ubuntu-22.04
generator: Visual Studio 16 2019
generator: Visual Studio 17 2022
- os: ubuntu-22.04
buildType: Debug
runs-on: ${{matrix.os}}
@@ -81,7 +81,7 @@ jobs:
[[ "${{matrix.os}}" =~ "windows" ]] && toolset=mingw || toolset=gcc
./bootstrap.sh --with-toolset="$toolset" --with-libraries=system,filesystem threading=multi || (cat bootstrap.log && false)
sed -i 's/mingw/gcc/' project-config.jam
[[ "${{matrix.generator}}" =~ "Visual Studio" ]] && toolset=msvc-14.0 || toolset=gcc
[[ "${{matrix.generator}}" =~ "Visual Studio" ]] && toolset=msvc-14.3 || toolset=gcc
./b2 headers
./b2 link=static toolset=$toolset address-model=64 -j$(nproc) --prefix="$BOOST_ROOT" install
cd ..