diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index d2a9ca9..ed7c6cd 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -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 \ No newline at end of file