From 3b8cba0097d51a0ae96cc65bfb7289bb7950ca3a Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Tue, 29 Jun 2021 14:59:15 +0300 Subject: [PATCH] Add github workflow to build and upload exe --- .github/workflows/winebuild.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/winebuild.yml diff --git a/.github/workflows/winebuild.yml b/.github/workflows/winebuild.yml new file mode 100644 index 00000000..ae970120 --- /dev/null +++ b/.github/workflows/winebuild.yml @@ -0,0 +1,24 @@ +name: Build Windows 32bit exe + +on: + push: + pull_request: + branches: 'v0.6' + +jobs: + build-exe: + + runs-on: ubuntu-18.04 + + steps: + - uses: actions/checkout@v2 + - name: Install apt dependencies + run: | + sudo dpkg --add-architecture i386 + sudo apt-get update + sudo apt-get install -yq --no-install-recommends \ + build-essential libcap-dev libssl-dev python-all-dev \ + wine-stable winetricks wine32 wine64 mingw-w64 xvfb + - name: Build + run: | + xvfb-run i386 buildscripts/winbuild.sh