Skip to content

Commit cb1d0bc

Browse files
committed
fix cmd path at entry point
1 parent fe9672c commit cb1d0bc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
shell: bash
3333
run: |
3434
mkdir -p deps/CollisionAlgorithm/build
35-
cd deps/CollisionAlgorithm/build
3635
if [[ "$RUNNER_OS" == "Windows" ]]; then
3736
cmd //c "${{ steps.sofa.outputs.vs_vsdevcmd }} \
37+
&& cd /d %GITHUB_WORKSPACE%/deps/CollisionAlgorithm/build \
3838
&& cmake \
3939
-GNinja \
4040
-DCMAKE_PREFIX_PATH="$SOFA_ROOT/lib/cmake" \
@@ -43,6 +43,7 @@ jobs:
4343
.. \
4444
&& ninja install"
4545
else
46+
cd deps/CollisionAlgorithm/build
4647
cmake \
4748
-GNinja \
4849
-DCMAKE_PREFIX_PATH=$SOFA_ROOT/lib/cmake \

0 commit comments

Comments
 (0)