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

Commit

Permalink
Enable submodules in CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
crsz20 committed May 3, 2024
1 parent e781840 commit 511d0e7
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions .github/workflows/ci_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,12 @@ jobs:

- name: Check out this repo
uses: actions/checkout@v3
with:
submodules: 'true'

- name: Build stm32CubeIDE project
uses: xanderhendriks/[email protected]
with:
project-path: 'Project/DAQ_System'
project-target: 'DAQ_System/Debug'

run-unit-tests:
runs-on: ubuntu-latest
steps:

- name: Check out this repo
uses: actions/checkout@v3

- name: Install Ninja
run: sudo apt-get install ninja-build

- name: Build and run unit tests
run: |
cd Project/Tests
cmake -G "Ninja" -S . -B ./build
cd build
ninja
./daq-unit-tests

0 comments on commit 511d0e7

Please sign in to comment.