Skip to content

Adjust HIL workflow

Adjust HIL workflow #4

Workflow file for this run

name: HIL_Tests
on:
push:
branches:
- master
- HIL_actions
pull_request:
branches:
- master
jobs:
Get Repository:

Check failure on line 13 in .github/workflows/HIL_Tests.yml

View workflow run for this annotation

GitHub Actions / HIL_Tests

Invalid workflow file

The workflow is not valid. .github/workflows/HIL_Tests.yml (Line: 13, Col: 3): The identifier 'Get Repository' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
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