Skip to content

Commit 5df5a3b

Browse files
committed
[ci] Fix windows runner by creating the build/bin folder and placing missing dll inside
1 parent 423747c commit 5df5a3b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,9 @@ jobs:
121121
# Copying the ConstraintGeometry library there makes it discoverable without
122122
# affecting the release artifact (which is uploaded from WORKSPACE_INSTALL_PATH).
123123
if [[ "$RUNNER_OS" == "Windows" ]]; then
124-
# On Windows, DLLs live directly in the build root (build/bin does not exist)
125-
cp $GITHUB_WORKSPACE/downstream/ConstraintGeometry/install/bin/ConstraintGeometry.dll $WORKSPACE_BUILD_PATH/
124+
# SOFA_PLUGIN_PATH includes build/bin on Windows; create it so SOFA can scan it
125+
mkdir -p $WORKSPACE_BUILD_PATH/bin
126+
cp $GITHUB_WORKSPACE/downstream/ConstraintGeometry/install/bin/ConstraintGeometry.dll $WORKSPACE_BUILD_PATH/bin/
126127
else
127128
cp $GITHUB_WORKSPACE/downstream/ConstraintGeometry/install/lib/libConstraintGeometry.* $WORKSPACE_BUILD_PATH/lib/
128129
fi

0 commit comments

Comments
 (0)