mirror of
https://github.com/rbreu/beeref.git
synced 2026-03-11 08:54:28 +00:00
37 lines
820 B
YAML
37 lines
820 B
YAML
name: build
|
|
|
|
on: workflow_dispatch
|
|
|
|
jobs:
|
|
|
|
build:
|
|
name: build
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: ['macos-12',
|
|
'macos-13',
|
|
'macos-14',
|
|
'windows-latest']
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python 3.11
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: 3.11
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install -r requirements/build.txt
|
|
pip install -e .
|
|
- name: Run Pyinstaller
|
|
run: |
|
|
pyinstaller BeeRef.spec
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: build-${{ matrix.os }}
|
|
path: dist/*
|
|
retention-days: 5
|