Skip to content

Commit

Permalink
Merge pull request #11 from Chocobo1/appveyor
Browse files Browse the repository at this point in the history
Add Appveyor
  • Loading branch information
gurnec authored Aug 11, 2016
2 parents 5a571c3 + 21819a4 commit 6e8307d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# HashCheck Shell Extension #

[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/gurnec/HashCheck?branch=master&svg=true)](https://ci.appveyor.com/project/gurnec/HashCheck)

### Installation ###

The latest installer for Windows (Vista and later) can be found here:
Expand Down
19 changes: 19 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
os: Visual Studio 2015

build_script:
- cd "%APPVEYOR_BUILD_FOLDER%"
- msbuild "HashCheck.sln" /m /p:Configuration=Release;Platform=Win32
- msbuild "HashCheck.sln" /m /p:Configuration=Release;Platform=x64

after_build:
- cd "%APPVEYOR_BUILD_FOLDER%\installer"
- '"C:\Program Files (x86)\NSIS\bin\makensis.exe" "HashCheck.nsi"'
- copy "HashCheckSetup.exe" "%APPVEYOR_BUILD_FOLDER%"
- 'powershell -Command "& { $hash = (Get-FileHash -Algorithm SHA256 "HashCheckSetup.exe").hash; Write-Host $hash " *HashCheckSetup.exe"; }" > "HashCheckSetup.exe.sha256"'
- copy "HashCheckSetup.exe.sha256" "%APPVEYOR_BUILD_FOLDER%"

artifacts:
- path: HashCheckSetup.exe
name: installer
- path: HashCheckSetup.exe.sha256
name: checksum

0 comments on commit 6e8307d

Please sign in to comment.