kopia lustrzana https://github.com/NanoVNA-Saver/nanovna-saver
Splitted github release actions (#305)
* splitted github release actions * generate 32Bit windows binariespull/299/head
rodzic
d8882c74bf
commit
87d73f8842
|
@ -0,0 +1,31 @@
|
|||
name: Linux Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- v*
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.8
|
||||
- name: Install dependencies and pyinstall
|
||||
run: |
|
||||
python -m pip install --upgrade pip setuptools
|
||||
pip install -r requirements.txt
|
||||
pip install PyInstaller==3.6
|
||||
- name: Build binary
|
||||
run: |
|
||||
pyinstaller --onefile -n nanovna-saver nanovna-saver.py
|
||||
|
||||
- name: Archive production artifacts
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: NanoVNASaver.linux
|
||||
path: dist/nanovna-saver
|
|
@ -0,0 +1,31 @@
|
|||
name: Mac Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- v*
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.8
|
||||
- name: Install dependencies and pyinstall
|
||||
run: |
|
||||
python -m pip install --upgrade pip setuptools
|
||||
pip install -r requirements.txt
|
||||
pip install PyInstaller==3.6
|
||||
- name: Build binary
|
||||
run: |
|
||||
pyinstaller --onefile -n nanovna-saver nanovna-saver.py
|
||||
|
||||
- name: Archive production artifacts
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: NanoVNASaver.macos
|
||||
path: dist/nanovna-saver
|
|
@ -1,4 +1,4 @@
|
|||
name: Python Release
|
||||
name: Windows Release
|
||||
|
||||
on:
|
||||
push:
|
||||
|
@ -7,18 +7,18 @@ on:
|
|||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ${{ matrix.os }}
|
||||
runs-on: windows-latest
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
python-version: [3.8, ]
|
||||
arch: [x64, x86]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
python-version: 3.8
|
||||
architecture: ${{ matrix.arch }}
|
||||
- name: Install dependencies and pyinstall
|
||||
run: |
|
||||
python -m pip install --upgrade pip setuptools
|
||||
|
@ -31,5 +31,5 @@ jobs:
|
|||
- name: Archive production artifacts
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: NanoVNASaver.${{ matrix.os }}
|
||||
name: NanoVNASaver.${{ matrix.arch }}
|
||||
path: dist/nanovna-saver.exe
|
Ładowanie…
Reference in New Issue