beeref/.github/workflows/build.yml
Rebecca Breu 4b5564ed2f Run builds on Python 3.9
The json extension for SQLite on Windos is only included in 3.9+
2021-09-05 22:06:52 +02:00

34 lines
770 B
YAML

name: build
on: workflow_dispatch
jobs:
build:
name: build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-20.04', 'macos-10.15', 'windows-latest']
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller
pip install -e .
- name: Run Pyinstaller
run: |
pyinstaller --onefile BeeRef.spec
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: build-${{ matrix.os }}
path: dist/*
retention-days: 5