File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -237,6 +237,15 @@ jobs:
237
237
run : |
238
238
cmake --build . -j $NUMBER_OF_PROCESSORS --config Release
239
239
240
+ - name : Get bitcoind manifest
241
+ if : matrix.job-type == 'standard'
242
+ working-directory : build
243
+ run : |
244
+ mt.exe -nologo -inputresource:bin/Release/bitcoind.exe -out:bitcoind.manifest
245
+ cat bitcoind.manifest
246
+ echo
247
+ mt.exe -nologo -inputresource:bin/Release/bitcoind.exe -validate_manifest
248
+
240
249
- name : Run test suite
241
250
if : matrix.job-type == 'standard'
242
251
working-directory : build
@@ -347,6 +356,20 @@ jobs:
347
356
- name : Run bitcoind.exe
348
357
run : ./bin/bitcoind.exe -version
349
358
359
+ - name : Find mt.exe tool
360
+ shell : pwsh
361
+ run : |
362
+ $sdk_dir = (Get-ItemProperty 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows Kits\Installed Roots' -Name KitsRoot10).KitsRoot10
363
+ $sdk_latest = (Get-ChildItem "$sdk_dir\bin" -Directory | Where-Object { $_.Name -match '^\d+\.\d+\.\d+\.\d+$' } | Sort-Object Name -Descending | Select-Object -First 1).Name
364
+ "MT_EXE=${sdk_dir}bin\${sdk_latest}\x64\mt.exe" >> $env:GITHUB_ENV
365
+
366
+ - name : Get bitcoind manifest
367
+ shell : pwsh
368
+ run : |
369
+ & $env:MT_EXE -nologo -inputresource:bin\bitcoind.exe -out:bitcoind.manifest
370
+ Get-Content bitcoind.manifest
371
+ & $env:MT_EXE -nologo -inputresource:bin\bitcoind.exe -validate_manifest
372
+
350
373
- name : Run unit tests
351
374
# Can't use ctest here like other jobs as we don't have a CMake build tree.
352
375
run : |
You can’t perform that action at this time.
0 commit comments