Skip to content

Commit

Permalink
chore: automate python build
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderMelde committed Apr 8, 2024
1 parent 9ccbd81 commit ee21de2
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/python-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build Executable

on:
push:
branches:
- master

permissions:
contents: read

jobs:
build-and-release:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.6'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install wheel
pip install -r VZE/requirements.txt
- name: Build package
run: cd VZE && python setup.py build
- name: Upload executable
uses: actions/upload-artifact@v4
with:
name: vze-build
path: VZE/build

0 comments on commit ee21de2

Please sign in to comment.