ci: Print commit in Windows container

This change adds the same functionality to Windows containers that is
already available in Linux containers.
This commit is contained in:
Hennadii Stepanov 2023-07-03 09:31:49 +01:00
parent 249c81eaa3
commit a7bec34231
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

View File

@ -383,6 +383,9 @@ task:
# Ignore MSBuild warning MSB8029.
# See: https://learn.microsoft.com/en-us/visualstudio/msbuild/errors/msb8029?view=vs-2022
IgnoreWarnIntDirInTempDetected: 'true'
git_show_script:
# Print commit to allow reproducing the job outside of CI.
- git show --no-patch
configure_script:
- '%x64_NATIVE_TOOLS%'
- cmake -E env CFLAGS="/WX" cmake -G "Visual Studio 17 2022" -A x64 -S . -B build -DSECP256K1_ENABLE_MODULE_RECOVERY=ON -DSECP256K1_BUILD_EXAMPLES=ON