-
-
Notifications
You must be signed in to change notification settings - Fork 214
63 lines (54 loc) · 1.36 KB
/
HIL_Tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: HIL_Tests
on:
push:
branches:
- master
- HIL_actions
pull_request:
branches:
- master
jobs:
Get_Repository:
runs-on: RPi-HIL
steps:
- uses: actions/checkout@v1
PC_Application_RPi5:
runs-on: RPi-HIL
needs: Get_Repository
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libusb-1.0-0-dev qt6-tools-dev qt6-base-dev
- name: Build application
run: |
cd Software/PC_Application/LibreVNA-GUI
qmake6 LibreVNA-GUI.pro
make -j9
shell: bash
Embedded_Firmware:
runs-on: RPi-HIL
needs: Get_Repository
steps:
- name: Install toolchain
run: |
sudo apt-get install -y gcc-arm-none-eabi binutils-arm-none-eabi
- name: Build application
run: |
cd Software/VNA_embedded
make -j9
cp build/VNA_embedded.elf ../../
shell: bash
- name: Combine with FPGA bitstream
run: |
python3 AssembleFirmware.py
shell: bash
HIL:
runs-on: RPi-HIL
needs: [PC_Application_RPi5, Embedded_Firmware]
steps:
- name: Run HIL tests
run: |
cd Software/Integrationtests
export DISPLAY=:0
python3 Integrationtest.py