LibreVNA/.github/workflows/Test.yml

36 lines
737 B
YAML
Raw Normal View History

name: Build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
Tests:
2023-03-28 17:58:00 +08:00
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: |
sudo apt-get update
2023-03-28 17:58:00 +08:00
sudo apt-get install -y libusb-1.0-0-dev qt6-tools-dev qt6-base-dev
qtchooser -install qt6 $(which qmake6)
- name: Build Tests
run: |
cd Software/PC_Application/LibreVNA-Test
2023-03-28 17:58:00 +08:00
export QT_SELECT=qt6
qmake LibreVNA-Test.pro
make -j9
shell: bash
- name: Run Tests
run: |
cd Software/PC_Application/LibreVNA-Test
2022-10-02 02:31:32 +08:00
./LibreVNA-Test -platform offscreen