kopia lustrzana https://github.com/NanoVNA-Saver/nanovna-saver
Feature/actions (#672)
* use python3.11 * noconsole for windows binary * no more 32-Bit versionspull/674/head
rodzic
4257ac152a
commit
2f8c5346eb
|
@ -6,13 +6,13 @@
|
||||||
|
|
||||||
Please check the type of change your PR introduces:
|
Please check the type of change your PR introduces:
|
||||||
|
|
||||||
- [ ] Bugfix
|
- [] Bugfix
|
||||||
- [ ] Feature
|
- [] Feature
|
||||||
- [ ] Code style update (formatting, renaming)
|
- [] Code style update (formatting, renaming)
|
||||||
- [ ] Refactoring (no functional changes, no API changes)
|
- [] Refactoring (no functional changes, no API changes)
|
||||||
- [ ] Build-related changes
|
- [] Build-related changes
|
||||||
- [ ] Documentation content changes
|
- [] Documentation content changes
|
||||||
- [ ] Other (please describe):
|
- [] Other (please describe):
|
||||||
|
|
||||||
## What is the current behavior?
|
## What is the current behavior?
|
||||||
|
|
||||||
|
@ -30,8 +30,8 @@ Issue Number: N/A
|
||||||
|
|
||||||
## Does this introduce a breaking change?
|
## Does this introduce a breaking change?
|
||||||
|
|
||||||
- [ ] Yes
|
- [] Yes
|
||||||
- [ ] No
|
- [] No
|
||||||
|
|
||||||
<!-- If this does introduce a breaking change, please describe the impact and migration path for existing applications below. -->
|
<!-- If this does introduce a breaking change, please describe the impact and migration path for existing applications below. -->
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ jobs:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
arch: [x64, x86]
|
arch: [x64, ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -20,7 +20,7 @@ jobs:
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: 3.11
|
||||||
architecture: ${{ matrix.arch }}
|
architecture: ${{ matrix.arch }}
|
||||||
- name: Install dependencies and pyinstall
|
- name: Install dependencies and pyinstall
|
||||||
run: |
|
run: |
|
||||||
|
@ -30,8 +30,7 @@ jobs:
|
||||||
- name: Build binary
|
- name: Build binary
|
||||||
run: |
|
run: |
|
||||||
python setup.py -V
|
python setup.py -V
|
||||||
pyinstaller --onefile -i icon_48x48.ico -p src -n nanovna-saver.exe nanovna-saver.py
|
pyinstaller --onefile --noconsole -i icon_48x48.ico -p src -n nanovna-saver.exe nanovna-saver.py
|
||||||
|
|
||||||
- name: Archive production artifacts
|
- name: Archive production artifacts
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
|
|
Ładowanie…
Reference in New Issue