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
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |