adjust test workflow to qt6
This commit is contained in:
parent
50dd9e6002
commit
b729600cd8
6
.github/workflows/Test.yml
vendored
6
.github/workflows/Test.yml
vendored
@ -10,18 +10,20 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Tests:
|
Tests:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libusb-1.0-0-dev qt5-default qt5-qmake qtbase5-dev
|
sudo apt-get install -y libusb-1.0-0-dev qt6-tools-dev qt6-base-dev
|
||||||
|
qtchooser -install qt6 $(which qmake6)
|
||||||
|
|
||||||
- name: Build Tests
|
- name: Build Tests
|
||||||
run: |
|
run: |
|
||||||
cd Software/PC_Application/LibreVNA-Test
|
cd Software/PC_Application/LibreVNA-Test
|
||||||
|
export QT_SELECT=qt6
|
||||||
qmake LibreVNA-Test.pro
|
qmake LibreVNA-Test.pro
|
||||||
make -j9
|
make -j9
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Loading…
Reference in New Issue
Block a user