Skip to content

Commit

Permalink
fix(ci/windows): Remove the 'github.workspace' from cmake configure
Browse files Browse the repository at this point in the history
As Windows PWSH seems tries to handle incorrectly paths and CMake got
crazy on its internal compiler checks.
  • Loading branch information
leha-bot committed Dec 11, 2022
1 parent 9ef1d6d commit 4ee1017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
# Also set PREFIX and MODULE paths for find_package() via CMAKE_MODULE_PATH and CMAKE_PREFIX_PATH variables.
# See https://cmake.org/cmake/help/latest/command/find_package.html?highlight=find_package for search modes.
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_PREFIX_PATH=${{github.workspace}}/build -DCMAKE_MODULE_PATH=${{github.workspace}}/build
run: cmake -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_PREFIX_PATH=${{github.workspace}}/build -DCMAKE_MODULE_PATH=${{github.workspace}}/build

- name: Build
# Build your program with the given configuration
Expand Down

0 comments on commit 4ee1017

Please sign in to comment.