Dry run for windows exe in wine #1776

Merged
g1itch merged 2 commits from ci-wine-dryrun into v0.6 2021-06-14 18:59:42 +02:00
2 changed files with 10 additions and 1 deletions

View File

@ -167,6 +167,14 @@ function build_exe(){
wine pyinstaller bitmessagemain.spec wine pyinstaller bitmessagemain.spec
} }
function dryrun_exe(){
cd "${BASE_DIR}" || exit 1
if [ ! "${MACHINE_TYPE}" == 'x86_64' ]; then
local VERSION=$(python setup.py --version)
wine packages/pyinstaller/dist/Bitmessage_x86_$VERSION.exe -t
fi
}
# prepare on ubuntu # prepare on ubuntu
# dpkg --add-architecture i386 # dpkg --add-architecture i386
# apt update # apt update
@ -187,3 +195,4 @@ install_msgpack
install_pyinstaller install_pyinstaller
build_dll build_dll
build_exe build_exe
dryrun_exe

View File

@ -34,7 +34,7 @@ a = Analysis(
], ],
hookspath=None, hookspath=None,
runtime_hooks=None, runtime_hooks=None,
excludes=['bsddb', 'bz2', 'tcl', 'tk', 'Tkinter'] excludes=['bsddb', 'bz2', 'tcl', 'tk', 'Tkinter', 'tests']
) )
os.rename( os.rename(