Merge pull request #9 from zarath/build-bin

Use action to build binary artifacts
pull/185/head
Holger Müller 2020-06-12 19:04:34 +02:00 zatwierdzone przez GitHub
commit ea1abdb489
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 29 dodań i 1 usunięć

Wyświetl plik

@ -10,7 +10,8 @@ on:
- development
jobs:
build:
coverage:
name: Coverage
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -35,3 +36,30 @@ jobs:
run: |
pip install pytest-cov
pytest --cov=NanoVNASaver
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.7, ]
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install PyInstaller
- name: Build binary
pyinstall nanovna-saver.py
- name: Archive production artifacts
uses: actions/upload-artifact@v1
with:
name: NanoVNASaver
path: dist/nanovna-saver