File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,20 @@ jobs:
114114 name : ${{ steps.sanitize.outputs.artifact_name }}
115115 path : ${{ env.WORKSPACE_ARTIFACT_PATH }}
116116
117- - name : Launch test
117+ - name : Make ConstraintGeometry visible for tests
118+ shell : bash
119+ run : |
120+ # The test action sets SOFA_PLUGIN_PATH to build_dir/lib (or /bin on Windows) only.
121+ # Copying the ConstraintGeometry library there makes it discoverable without
122+ # affecting the release artifact (which is uploaded from WORKSPACE_INSTALL_PATH).
123+ 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/
126+ else
127+ cp $GITHUB_WORKSPACE/downstream/ConstraintGeometry/install/lib/libConstraintGeometry.* $WORKSPACE_BUILD_PATH/lib/
128+ fi
129+
130+ - name : Launch test
118131 id : tests
119132 uses : sofa-framework/sofa-test-action@v1.0
120133 with :
You can’t perform that action at this time.
0 commit comments