There was an error while loading. Please reload this page.
pythoninfo
python${LDVERSION}
1 parent caf7b26 commit 4d5bbd0Copy full SHA for 4d5bbd0
1 file changed
.github/workflows/reusable-install.yml
@@ -38,9 +38,14 @@ jobs:
38
run: ./configure --config-cache --with-pydebug --prefix="$INSTALL_DIR"
39
- name: Build CPython
40
run: make -j
41
- - name: Display build info
42
- run: make pythoninfo
43
- name: Install CPython
44
run: make install
+ - name: Set installed interpreter
+ run: |
45
+ ldversion=$(./python -c 'import sysconfig; print(sysconfig.get_config_var("LDVERSION"))')
46
+ echo "INSTALLED_PYTHON=${INSTALL_DIR}/bin/python${ldversion}" >> "$GITHUB_ENV"
47
+ - name: Display build info
48
49
+ "$INSTALLED_PYTHON" -m test.pythoninfo
50
- name: Test the installed Python
- run: xvfb-run "$INSTALL_DIR/bin/python3" -m test -j0 --fast-ci --timeout=900
51
+ run: xvfb-run "$INSTALLED_PYTHON" -m test -j0 --fast-ci --timeout=900
0 commit comments