CI: added MSVC 2022 build

This commit is contained in:
SChernykh 2024-05-16 13:25:54 +02:00
parent d40b3ddfab
commit d219b78d4c
2 changed files with 5 additions and 1 deletions

View file

@ -427,6 +427,7 @@ jobs:
strategy:
matrix:
config:
- {vs: Visual Studio 17 2022, os: 2022, vspath: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise", rx: "ON", upnp: "ON", grpc: "ON"}
- {vs: Visual Studio 16 2019, os: 2019, vspath: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise", rx: "ON", upnp: "ON", grpc: "ON"}
- {vs: Visual Studio 16 2019, os: 2019, vspath: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise", rx: "ON", upnp: "ON", grpc: "OFF"}
- {vs: Visual Studio 16 2019, os: 2019, vspath: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise", rx: "OFF", upnp: "ON", grpc: "OFF"}
@ -473,10 +474,12 @@ jobs:
& "${{ matrix.config.vspath }}\\MSBuild\\Current\\Bin\\amd64\\msbuild" -v:m /m /p:Configuration=Debug p2pool_tests.vcxproj
- name: Run tests
shell: cmd
run: |
cd tests/build/Debug
7z x *.gz
./p2pool_tests.exe
call "${{ matrix.config.vspath }}\\VC\\Auxiliary\\Build\\vcvarsall.bat" amd64
p2pool_tests.exe
- name: Archive binary
uses: actions/upload-artifact@v4

View file

@ -101,6 +101,7 @@ allowedAPIs = {
"SetFileCompletionNotificationModes",
"WideCharToMultiByte",
"DuplicateHandle",
"TryAcquireSRWLockExclusive",
"TryAcquireSRWLockShared",
"InitializeConditionVariable",
"WakeConditionVariable",