Skip to content
Snippets Groups Projects
Commit 02e01b09 authored by Holger Nahrstaedt's avatar Holger Nahrstaedt
Browse files

fix appveyor

parent 86615997
No related branches found
No related tags found
No related merge requests found
# Based on https://github.com/ogrisel/python-appveyor-demo/blob/master/appveyor.yml
version: '{build}'
environment:
global:
......@@ -68,18 +69,28 @@ after_test:
- pyinstaller beempy-onedir.spec
- copy /Y C:\OpenSSL-Win64\bin\libeay32.dll dist\beempy
- copy /Y C:\OpenSSL-Win64\bin\ssleay32.dll dist\beempy
- 7z a dist\beempy.zip %APPVEYOR_BUILD_FOLDER%\dist\beempy
- 7z a -m0=LZMA2 -mx9 dist\beempy.7z %APPVEYOR_BUILD_FOLDER%\dist\beempy
- 7z a beempy.zip %APPVEYOR_BUILD_FOLDER%\dist\beempy
- 7z a -m0=LZMA2 -mx9 $env:BUILD %APPVEYOR_BUILD_FOLDER%\dist\beempy
#- "%CMD_IN_ENV% python setup.py bdist_wininst"
#- "%CMD_IN_ENV% python setup.py bdist_msi"
- ps: | # generate sha256 hashes
(get-filehash dist\beempy.7z -algorithm SHA256).Hash | out-file "dist\beempy.7z.sha256"-encoding ascii
(get-filehash dist\beempy.zip -algorithm SHA256).Hash | out-file "dist\beempy.zip.sha256" -encoding ascii
(get-filehash $env:BUILD -algorithm SHA256).Hash | out-file ("{0}.sha256" -f $env:BUILD) -encoding ascii
(get-filehash beempy.zip -algorithm SHA256).Hash | out-file "beempy.zip.sha256" -encoding ascii
- ps: "ls dist"
artifacts:
# Archive the generated packages in the ci.appveyor.com build report.
- path: dist\*
- path: $(BUILD)
name: beempy
- path: $(BUILD).sha256
name: beempy sha256 hash
- path: beempy.zip
name: beempy_zip
- path: beempy.zip.sha256
name: beempy_zip sha256 hash
on_finish:
- ps: | # update appveyor build version, done last to prevent webhook breakage
update-appveyorbuild -version $env:AVVER
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment