Files
detektor/.gitea/workflows/build.yml
Martin Kudlacek 59ffe8e2a0
Some checks failed
Build Detektor binarie / build_macos (push) Failing after 45s
WIP
2025-11-14 12:56:46 +01:00

31 lines
741 B
YAML

name: Build Detektor binarie
on:
push:
branches: [ dev ]
jobs:
build_macos:
runs-on: macos
# alpine doesn't have prebuilt wheels
container: python:3.13-slim
steps:
- name: Checkout
run: |
apt update -y
apt install -y --no-install-recommends git
git clone ${{ gitea.server_url }}/${{ gitea.repository }} .
git checkout ${{ gitea.ref_name }}
- name: Install deps
run: |
python -m venv venv
. venv/bin/activate
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
pip list
- name: Build binary
run: python -m PyInstaller build-config/macos_build.spec