Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

made Ninja installation a separate step to separate from unit test co… #8

made Ninja installation a separate step to separate from unit test co…

made Ninja installation a separate step to separate from unit test co… #8

Workflow file for this run

name: Build Workflow
# Define the trigger event(s)
on: [push, pull_request]
# Jobs run in parallel by default, each runs steps in sequence
jobs:
compile-firmware:
runs-on: ubuntu-latest
steps:
# Use github.com/actions/checkout to check out this repo
- name: Check out this repo
uses: actions/checkout@v3
- name: Build STM32CubeIde project
uses: xanderhendriks/[email protected]
with:
project-path: 'DAQ_System'
project-target: 'DAQ_System/Debug'
run-unit-tests:
runs-on: ubuntu-latest
steps:
# Use github.com/actions/checkout to check out this repo
- name: Check out this repo
uses: actions/checkout@v3
- name: Install Ninja
run: sudo apt-get install ninja-build
- name: Run Google Test
run: |
cd DAQ_System/Tests
python3 run_tests.py