Skip to content

Commit

Permalink
Merge branch 'main' of github.com:mad-lab-fau/mad-gui
Browse files Browse the repository at this point in the history
  • Loading branch information
MalteOlle committed Oct 6, 2021
2 parents 7eb94af + 80474d5 commit c6d59b5
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# This workflows will create a standalone executable for windows.

name: Create Standalone (Windows)

on:
release:
types: [created]
workflow_dispatch:

jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.7'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Create executable
run: |
python -m venv .venv
.venv/Scripts/activate
python -m pip install --upgrade pip
pip install .
pip install pyinstaller doit pillow
doit prepare_build
pyinstaller pyinstaller.spec --onefile
ls dist
- uses: actions/upload-artifact@v2
with:
name: windows_executable
path: D:\a\mad-gui\mad-gui\dist\

0 comments on commit c6d59b5

Please sign in to comment.