File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 2121 matrix :
2222 bits : [32, 64]
2323
24- runs-on : windows-2019
24+ runs-on : windows-2025
2525
2626 env :
2727 BITS : ' ${{ matrix.bits }}'
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ function ThrowOnNativeFailure {
1111}
1212
1313
14- $VsVersion = 2019
15- $MsvcVersion = ' 14.2 '
14+ $VsVersion = 2022
15+ $MsvcVersion = ' 14.3 '
1616$BoostVersion = @ (1 , 88 , 0 )
1717$OpensslVersion = ' 3_0_16'
1818
7474if (-not $Env: GITHUB_ACTIONS ) {
7575 choco install - y `
7676 " visualstudio${VsVersion} community" `
77- " visualstudio${VsVersion} -workload-netcoretools" `
7877 " visualstudio${VsVersion} -workload-vctools" `
7978 " visualstudio${VsVersion} -workload-manageddesktop" `
8079 " visualstudio${VsVersion} -workload-nativedesktop" `
@@ -83,6 +82,7 @@ if (-not $Env:GITHUB_ACTIONS) {
8382 git `
8483 cmake `
8584 winflexbison3 `
85+ netfx- 4.6 - devpack `
8686 windows- sdk- 8.1 `
8787 wixtoolset
8888 ThrowOnNativeFailure
Original file line number Diff line number Diff line change 11Set-PsDebug - Trace 1
22
3- # Specify default targets for VS 2019 for developers.
3+ # Specify default targets for VS 2022 for developers.
44
55if (-not (Test-Path env:ICINGA2_BUILDPATH)) {
66 $env: ICINGA2_BUILDPATH = ' .\debug'
@@ -22,7 +22,7 @@ if (-not ($env:PATH -contains $env:CMAKE_PATH)) {
2222 $env: PATH = $env: CMAKE_PATH + ' ;' + $env: PATH
2323}
2424if (-not (Test-Path env:CMAKE_GENERATOR)) {
25- $env: CMAKE_GENERATOR = ' Visual Studio 16 2019 '
25+ $env: CMAKE_GENERATOR = ' Visual Studio 17 2022 '
2626}
2727if (-not (Test-Path env:CMAKE_GENERATOR_PLATFORM)) {
2828 $env: CMAKE_GENERATOR_PLATFORM = ' x64'
@@ -37,7 +37,7 @@ if (-not (Test-Path env:BOOST_ROOT)) {
3737 $env: BOOST_ROOT = ' c:\local\boost_1_88_0'
3838}
3939if (-not (Test-Path env:BOOST_LIBRARYDIR)) {
40- $env: BOOST_LIBRARYDIR = ' c:\local\boost_1_88_0\lib64-msvc-14.2 '
40+ $env: BOOST_LIBRARYDIR = ' c:\local\boost_1_88_0\lib64-msvc-14.3 '
4141}
4242if (-not (Test-Path env:FLEX_BINARY)) {
4343 $env: FLEX_BINARY = ' C:\ProgramData\chocolatey\bin\win_flex.exe'
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ if (-not ($env:PATH -contains $env:CMAKE_PATH)) {
1717 $env: PATH = $env: CMAKE_PATH + ' ;' + $env: PATH
1818}
1919if (-not (Test-Path env:CMAKE_GENERATOR)) {
20- $env: CMAKE_GENERATOR = ' Visual Studio 16 2019 '
20+ $env: CMAKE_GENERATOR = ' Visual Studio 17 2022 '
2121}
2222if (-not (Test-Path env:BITS)) {
2323 $env: BITS = 64
@@ -39,7 +39,7 @@ if (-not (Test-Path env:BOOST_ROOT)) {
3939 $env: BOOST_ROOT = " c:\local\boost_1_88_0-Win${env: BITS} "
4040}
4141if (-not (Test-Path env:BOOST_LIBRARYDIR)) {
42- $env: BOOST_LIBRARYDIR = " c:\local\boost_1_88_0-Win${env: BITS} \lib${env: BITS} -msvc-14.2 "
42+ $env: BOOST_LIBRARYDIR = " c:\local\boost_1_88_0-Win${env: BITS} \lib${env: BITS} -msvc-14.3 "
4343}
4444if (-not (Test-Path env:FLEX_BINARY)) {
4545 $env: FLEX_BINARY = ' C:\ProgramData\chocolatey\bin\win_flex.exe'
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ if (-not (Test-Path $BUILD)) {
1818if (Test-Path env:VS_INSTALL_PATH) {
1919 $VSBASE = $env: VS_INSTALL_PATH
2020} else {
21- $VSBASE = " C:\Program Files (x86) \Microsoft Visual Studio\2019 "
21+ $VSBASE = " C:\Program Files\Microsoft Visual Studio\2022 "
2222}
2323
2424if (Test-Path env:BITS) {
You can’t perform that action at this time.
0 commit comments