Github workflow adjustment
This commit is contained in:
parent
8a5f944214
commit
4c8b10ac12
17
.github/workflows/Build.yml
vendored
17
.github/workflows/Build.yml
vendored
@ -4,7 +4,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
- librevna-rename
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
@ -23,7 +22,7 @@ jobs:
|
|||||||
- name: Build application
|
- name: Build application
|
||||||
run: |
|
run: |
|
||||||
cd Software/PC_Application
|
cd Software/PC_Application
|
||||||
qmake
|
qmake LibreVNA-GUI.pro
|
||||||
make -j9
|
make -j9
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
@ -55,7 +54,7 @@ jobs:
|
|||||||
- name: Build application
|
- name: Build application
|
||||||
run: |
|
run: |
|
||||||
cd Software/PC_Application
|
cd Software/PC_Application
|
||||||
qmake
|
qmake LibreVNA-GUI.pro
|
||||||
make -j9
|
make -j9
|
||||||
shell: cmd
|
shell: cmd
|
||||||
|
|
||||||
@ -73,7 +72,7 @@ jobs:
|
|||||||
- name: Upload
|
- name: Upload
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: Application_Windows
|
name: GUI_Windows
|
||||||
path: Software/PC_Application/release
|
path: Software/PC_Application/release
|
||||||
|
|
||||||
PC_Application_OSX:
|
PC_Application_OSX:
|
||||||
@ -83,25 +82,25 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
brew install qt libusb
|
brew install qt@5 libusb
|
||||||
|
|
||||||
- name: Set Environment
|
- name: Set Environment
|
||||||
run: |
|
run: |
|
||||||
echo "/usr/local/opt/qt/bin" >> $GITHUB_PATH
|
echo "/usr/local/opt/qt@5/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Build application
|
- name: Build application
|
||||||
run: |
|
run: |
|
||||||
cd Software/PC_Application
|
cd Software/PC_Application
|
||||||
qmake
|
qmake LibreVNA-GUI.pro
|
||||||
make -j9
|
make -j9
|
||||||
macdeployqt LibreVNA-GUI.app
|
macdeployqt LibreVNA-GUI.app
|
||||||
zip -ry LibreVNA-GUI-app.zip LibreVNA-GUI.app
|
zip -ry LibreVNA-GUI.zip LibreVNA-GUI.app
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: Application_OSX
|
name: GUI_OSX
|
||||||
path: Software/PC_Application/LibreVNA-GUI.zip
|
path: Software/PC_Application/LibreVNA-GUI.zip
|
||||||
|
|
||||||
Embedded_Firmware:
|
Embedded_Firmware:
|
||||||
|
Loading…
Reference in New Issue
Block a user