Skip to content

Fix testing and deployment CI/CD + Remove macOS pipeline #158

Fix testing and deployment CI/CD + Remove macOS pipeline

Fix testing and deployment CI/CD + Remove macOS pipeline #158

name: Windows - Build GUI executable
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-2019
# https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md
# windows-2019 already has python 3.7.8, no need to install
# python 3.7.8 is the only python installed -- refer to it as python
steps:
- uses: actions/checkout@v2
- name: Install pipenv
run: |
python -m pip install pipenv
- name: Install dependencies via pipenv
run: |
python -m pipenv lock
python -m pipenv install --dev
- name: Create windows app
run: |
python -m pipenv run pyinstaller pyinstaller_spec/empress_gui_app.spec
- name: Upload executable
uses: actions/upload-artifact@v4
with:
name: windows_empress_app
path: ./dist/empress