mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-10 04:23:47 -05:00
CI: modified-scripts-build: print config.log on build failure
This commit is contained in:
12
.github/workflows/modified_scripts_build.yml
vendored
12
.github/workflows/modified_scripts_build.yml
vendored
@@ -55,7 +55,8 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
- run: |
|
- run: |
|
||||||
#build
|
#build
|
||||||
pyenv --debug install ${{ matrix.python-version }}
|
pyenv --debug install ${{ matrix.python-version }} && rc=$? || rc=$?
|
||||||
|
if [[ $rc -ne 0 ]]; then echo config.log:; cat $TMPDIR/python-build*/*/config.log; false; fi
|
||||||
pyenv global ${{ matrix.python-version }}
|
pyenv global ${{ matrix.python-version }}
|
||||||
# Micropython doesn't support --version
|
# Micropython doesn't support --version
|
||||||
- run: |
|
- run: |
|
||||||
@@ -116,7 +117,8 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
- run: |
|
- run: |
|
||||||
#build
|
#build
|
||||||
pyenv --debug install ${{ matrix.python-version }}
|
pyenv --debug install ${{ matrix.python-version }} && rc=$? || rc=$?
|
||||||
|
if [[ $rc -ne 0 ]]; then echo config.log:; cat $TMPDIR/python-build*/*/config.log; false; fi
|
||||||
pyenv global ${{ matrix.python-version }}
|
pyenv global ${{ matrix.python-version }}
|
||||||
# Micropython doesn't support --version
|
# Micropython doesn't support --version
|
||||||
- run: |
|
- run: |
|
||||||
@@ -179,7 +181,8 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
- run: |
|
- run: |
|
||||||
#build
|
#build
|
||||||
pyenv install -v ${{ matrix.python-version }}
|
pyenv --debug install ${{ matrix.python-version }} && rc=$? || rc=$?
|
||||||
|
if [[ $rc -ne 0 ]]; then echo config.log:; cat $TMPDIR/python-build*/*/config.log; false; fi
|
||||||
pyenv global ${{ matrix.python-version }}
|
pyenv global ${{ matrix.python-version }}
|
||||||
# Micropython doesn't support --version
|
# Micropython doesn't support --version
|
||||||
- run: |
|
- run: |
|
||||||
@@ -238,7 +241,8 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
- run: |
|
- run: |
|
||||||
#build
|
#build
|
||||||
pyenv install -v ${{ matrix.python-version }}
|
pyenv --debug install ${{ matrix.python-version }} && rc=$? || rc=$?
|
||||||
|
if [[ $rc -ne 0 ]]; then echo config.log:; cat $TMPDIR/python-build*/*/config.log; false; fi
|
||||||
pyenv global ${{ matrix.python-version }}
|
pyenv global ${{ matrix.python-version }}
|
||||||
# Micropython doesn't support --version
|
# Micropython doesn't support --version
|
||||||
- run: |
|
- run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user