Skip to content

Commit

Permalink
Update CMake configuration in CI workflow to use quotes for build dir…
Browse files Browse the repository at this point in the history
…ectory paths. This change improves compatibility and prevents potential issues with path handling in different environments.
  • Loading branch information
yanyiwu committed Jan 18, 2025
1 parent 66e2d24 commit 912a0a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
shell: bash
run: |
if [[ "${{ matrix.arch }}" == "ARM64" ]]; then
cmake -B ${{github.workspace}}/build -A ARM64 -DBUILD_TESTING=ON -DCMAKE_CXX_STANDARD=${{matrix.cpp_version}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
cmake -B "${{github.workspace}}/build" -A ARM64 -DBUILD_TESTING=ON -DCMAKE_CXX_STANDARD=${{matrix.cpp_version}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
else
cmake -B ${{github.workspace}}/build -DBUILD_TESTING=ON -DCMAKE_CXX_STANDARD=${{matrix.cpp_version}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
cmake -B "${{github.workspace}}/build" -DBUILD_TESTING=ON -DCMAKE_CXX_STANDARD=${{matrix.cpp_version}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
fi
- name: Build
Expand Down

0 comments on commit 912a0a7

Please sign in to comment.