From fa3335d59a9cb9f9a6e81092af8870076af0d32c Mon Sep 17 00:00:00 2001 From: A_D Date: Mon, 7 Dec 2020 17:35:32 +0200 Subject: [PATCH 1/2] Added windows build --- .github/workflows/windows-build.yml | 47 +++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .github/workflows/windows-build.yml diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml new file mode 100644 index 00000000..e9203a50 --- /dev/null +++ b/.github/workflows/windows-build.yml @@ -0,0 +1,47 @@ +on: + push: + tags: + - "v*" + workflow_dispatch: + +jobs: + test: + name: Build EDMC + runs-on: windows-2019 + + defaults: + run: + shell: powershell + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: "3.7.9" + architecture: "x86" + + - name: Install python tools + run: | + pip install wheel + pip install -r requirements-dev.txt + pip install py2exe + ls + + - name: Download winsparkle + run: | + Invoke-Webrequest -UseBasicParsing https://github.com/vslavik/winsparkle/releases/download/v0.7.0/WinSparkle-0.7.0.zip -OutFile out.zip + Expand-Archive out.zip + Move-Item 'out\WinSparkle-0.7.0\Release\*' '.\' + + - name: Build EDMC + run: | + python setup.py py2exe + + - name: Upload build files + uses: actions/upload-artifact@v2 + with: + name: Built files + path: | + EDMarketConnector_win*.msi + dist.win32\EDMarketConnector.exe + appcast_win_*.xml From 87afa69f5351196f96349ed1ac20628812cbeaff Mon Sep 17 00:00:00 2001 From: A_D Date: Mon, 7 Dec 2020 19:01:04 +0200 Subject: [PATCH 2/2] Removed py2exe setup --- .github/workflows/windows-build.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index e9203a50..2e85ecd7 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -24,8 +24,6 @@ jobs: run: | pip install wheel pip install -r requirements-dev.txt - pip install py2exe - ls - name: Download winsparkle run: |