Skip to content

Commit 03dbf2e

Browse files
committed
Update ci.yml
1 parent 522e27f commit 03dbf2e

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
@@ -115,6 +115,19 @@ jobs:
115115
else
116116
echo "REGRESSION_DIR=$REGRESSION_DIR"
117117
fi
118+
119+
if [[ "$RUNNER_OS" == "Windows" ]]; then
120+
echo "$BUILD_DIR/lib" >> $GITHUB_PATH
121+
echo "$BUILD_DIR/bin" >> $GITHUB_PATH
122+
123+
pythonroot="$(dirname "${{ inputs.python_exe }}")"
124+
pythonroot=$(echo "$pythonroot" | tr '\\' '/' | sed 's/^\([A-Za-z]\):/\/\L\1/')
125+
echo "$pythonroot" >> $GITHUB_PATH
126+
echo "$pythonroot/DLLs" >> $GITHUB_PATH
127+
echo "$pythonroot/Lib" >> $GITHUB_PATH
128+
129+
echo "$SOFA_ROOT/plugins/SofaPython3/bin" >> $GITHUB_PATH
130+
fi
118131
- name: Install Python dependencies
119132
shell: bash
120133
run: |

0 commit comments

Comments
 (0)