From b74a7d4724f05701b707335b97b02fab7a59d762 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 26 Jan 2026 13:44:22 +0000 Subject: [PATCH 1/2] Initial plan From 06b6badef531cba1a1ce49fbe67a87831b45e6e5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 26 Jan 2026 13:46:58 +0000 Subject: [PATCH 2/2] Add relative path test for CMSIS in CI workflow Co-authored-by: Hish15 <29129731+Hish15@users.noreply.github.com> --- .github/workflows/cmake.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 0d29e8f..73454ca 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -52,6 +52,25 @@ jobs: run: cmake --build . --config $BUILD_TYPE if: ${{ matrix.family != 'MP1' }} + - name: Create build directory for tests/cmsis-relative-path + run: cmake -E make_directory ${{runner.workspace}}/tests/cmsis/build-relative + if: ${{ matrix.family != 'MP1' }} + + - name: Configure tests/cmsis with relative path + shell: bash + working-directory: ${{runner.workspace}}/tests/cmsis/build-relative + run: | + FAMILY_LOWER=$(echo "${{ matrix.family }}" | tr '[:upper:]' '[:lower:]') + RELATIVE_PATH="../../fetch/build/_deps/stm32cube${FAMILY_LOWER}-src" + cmake -DTEST_FAMILIES=${{ matrix.family }} -DSTM32_CUBE_${{ matrix.family }}_PATH=${RELATIVE_PATH} $GITHUB_WORKSPACE/tests/cmsis/ + if: ${{ matrix.family != 'MP1' }} + + - name: Build tests/cmsis with relative path + working-directory: ${{runner.workspace}}/tests/cmsis/build-relative + shell: bash + run: cmake --build . --config $BUILD_TYPE + if: ${{ matrix.family != 'MP1' }} + - name: Create build directory for tests/hal run: cmake -E make_directory ${{runner.workspace}}/tests/hal/build