Files
pommer/.gitea/workflows/pommer_build.yaml
rattatwinko bb28221733 cock
2025-05-28 15:19:07 +02:00

31 lines
772 B
YAML

name: Build Pommer Executable
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pyinstaller
- name: Build executable with PyInstaller
run: |
pyinstaller --onefile pommer/pommer.py --name pommer
- name: Upload executable artifact
uses: actions/upload-artifact@v3
with:
name: pommer-linux
path: dist/pommer