34 lines
664 B
YAML
34 lines
664 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
Tests:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y libusb-1.0-0-dev qt5-default qt5-qmake qtbase5-dev
|
|
|
|
- name: Build Tests
|
|
run: |
|
|
cd Software/PC_Application/LibreVNA-Test
|
|
qmake LibreVNA-Test.pro
|
|
make -j9
|
|
shell: bash
|
|
|
|
- name: Run Tests
|
|
run: |
|
|
cd Software/PC_Application/LibreVNA-Test
|
|
./LibreVNA-Test -platform offscreen
|
|
|