From 7057bc0f87f96ed7e02d45232941de38110b5c49 Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Mon, 18 Sep 2023 16:27:07 +0300 Subject: [PATCH] Add a buildbot_multibuild dir for building windows executable --- .buildbot/winebuild/Dockerfile | 14 ++++++++++++++ .buildbot/winebuild/build.sh | 6 ++++++ 2 files changed, 20 insertions(+) create mode 100644 .buildbot/winebuild/Dockerfile create mode 100755 .buildbot/winebuild/build.sh diff --git a/.buildbot/winebuild/Dockerfile b/.buildbot/winebuild/Dockerfile new file mode 100644 index 00000000..9b687f8f --- /dev/null +++ b/.buildbot/winebuild/Dockerfile @@ -0,0 +1,14 @@ +FROM ubuntu:bionic + +ENV DEBIAN_FRONTEND=noninteractive + +RUN dpkg --add-architecture i386 + +RUN apt-get update + +RUN apt-get install -yq --no-install-suggests --no-install-recommends \ + software-properties-common build-essential libcap-dev libffi-dev \ + libssl-dev python-all-dev python-setuptools xvfb \ + mingw-w64 wine-stable winetricks wine32 wine64 + +ADD . . diff --git a/.buildbot/winebuild/build.sh b/.buildbot/winebuild/build.sh new file mode 100755 index 00000000..78c5c60b --- /dev/null +++ b/.buildbot/winebuild/build.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +xvfb-run -a buildscripts/winbuild.sh + +mkdir -p ../out +mv packages/pyinstaller/dist/*.exe ../out