From 511d0e7ecb3588f50c801e9802157cf92f5e6a74 Mon Sep 17 00:00:00 2001 From: crsz20 Date: Thu, 2 May 2024 22:10:52 -0500 Subject: [PATCH] Enable submodules in CI build --- .github/workflows/ci_build.yaml | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci_build.yaml b/.github/workflows/ci_build.yaml index bf6f3d4a..dba48bfd 100644 --- a/.github/workflows/ci_build.yaml +++ b/.github/workflows/ci_build.yaml @@ -12,28 +12,12 @@ jobs: - name: Check out this repo uses: actions/checkout@v3 + with: + submodules: 'true' - name: Build stm32CubeIDE project uses: xanderhendriks/action-build-stm32cubeide@v10.0 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 \ No newline at end of file