[windows] Build on AppVeyor CI

This commit is contained in:
Thiago Marcos P. Santos
2018-01-08 13:23:29 +02:00
parent d00e56ada0
commit 8597d50b5b
2 changed files with 64 additions and 0 deletions

8
scripts/check-sha256.ps1 Normal file
View File

@@ -0,0 +1,8 @@
param([string]$file, [string]$hash);
$hashFromFile = Get-FileHash -Path $file -Algorithm SHA256
$hashFromFile | Format-List
if ($hashFromFile.Hash -ne $hash) {
Throw 'Hash mismatch!'
}