Skip to content

Commit 925f6e5

Browse files
authored
Update ci.yml
1 parent 962e440 commit 925f6e5

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,19 @@ jobs:
117117
else
118118
echo "REGRESSION_DIR=$REGRESSION_DIR"
119119
fi
120+
121+
if [[ "$RUNNER_OS" == "Windows" ]]; then
122+
echo "$BUILD_DIR/lib" >> $GITHUB_PATH
123+
echo "$BUILD_DIR/bin" >> $GITHUB_PATH
124+
125+
pythonroot="$(dirname "${{ inputs.python_exe }}")"
126+
pythonroot=$(echo "$pythonroot" | tr '\\' '/' | sed 's/^\([A-Za-z]\):/\/\L\1/')
127+
echo "$pythonroot" >> $GITHUB_PATH
128+
echo "$pythonroot/DLLs" >> $GITHUB_PATH
129+
echo "$pythonroot/Lib" >> $GITHUB_PATH
130+
131+
echo "$SOFA_ROOT/plugins/SofaPython3/bin" >> $GITHUB_PATH
132+
fi
120133
- name: Install Python dependencies
121134
shell: bash
122135
run: |

0 commit comments

Comments
 (0)