mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-22 19:39:22 +00:00
CI: added MSVC 2022 build
This commit is contained in:
parent
d40b3ddfab
commit
d219b78d4c
2 changed files with 5 additions and 1 deletions
5
.github/workflows/c-cpp.yml
vendored
5
.github/workflows/c-cpp.yml
vendored
|
@ -427,6 +427,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
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: "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: "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"}
|
- {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
|
& "${{ matrix.config.vspath }}\\MSBuild\\Current\\Bin\\amd64\\msbuild" -v:m /m /p:Configuration=Debug p2pool_tests.vcxproj
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
cd tests/build/Debug
|
cd tests/build/Debug
|
||||||
7z x *.gz
|
7z x *.gz
|
||||||
./p2pool_tests.exe
|
call "${{ matrix.config.vspath }}\\VC\\Auxiliary\\Build\\vcvarsall.bat" amd64
|
||||||
|
p2pool_tests.exe
|
||||||
|
|
||||||
- name: Archive binary
|
- name: Archive binary
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|
|
@ -101,6 +101,7 @@ allowedAPIs = {
|
||||||
"SetFileCompletionNotificationModes",
|
"SetFileCompletionNotificationModes",
|
||||||
"WideCharToMultiByte",
|
"WideCharToMultiByte",
|
||||||
"DuplicateHandle",
|
"DuplicateHandle",
|
||||||
|
"TryAcquireSRWLockExclusive",
|
||||||
"TryAcquireSRWLockShared",
|
"TryAcquireSRWLockShared",
|
||||||
"InitializeConditionVariable",
|
"InitializeConditionVariable",
|
||||||
"WakeConditionVariable",
|
"WakeConditionVariable",
|
||||||
|
|
Loading…
Reference in a new issue