8293361: GHA: dump config.log in case of configure failure
Reviewed-by: shade
This commit is contained in:
parent
b17758a932
commit
8e22f2bb40
7
.github/workflows/build-cross-compile.yml
vendored
7
.github/workflows/build-cross-compile.yml
vendored
@ -37,6 +37,9 @@ on:
|
|||||||
apt-gcc-cross-version:
|
apt-gcc-cross-version:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
extra-conf-options:
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-cross-compile:
|
build-cross-compile:
|
||||||
@ -142,6 +145,10 @@ jobs:
|
|||||||
--with-build-jdk=${{ steps.buildjdk.outputs.jdk-path }}
|
--with-build-jdk=${{ steps.buildjdk.outputs.jdk-path }}
|
||||||
CC=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-gcc-${{ inputs.gcc-major-version }}
|
CC=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-gcc-${{ inputs.gcc-major-version }}
|
||||||
CXX=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-g++-${{ inputs.gcc-major-version }}
|
CXX=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-g++-${{ inputs.gcc-major-version }}
|
||||||
|
${{ inputs.extra-conf-options }} || (
|
||||||
|
echo "Dumping config.log:" &&
|
||||||
|
cat config.log &&
|
||||||
|
exit 1)
|
||||||
|
|
||||||
- name: 'Build'
|
- name: 'Build'
|
||||||
id: build
|
id: build
|
||||||
|
5
.github/workflows/build-linux.yml
vendored
5
.github/workflows/build-linux.yml
vendored
@ -122,7 +122,10 @@ jobs:
|
|||||||
--with-gtest=${{ steps.gtest.outputs.path }}
|
--with-gtest=${{ steps.gtest.outputs.path }}
|
||||||
--enable-jtreg-failure-handler
|
--enable-jtreg-failure-handler
|
||||||
--with-zlib=system
|
--with-zlib=system
|
||||||
${{ inputs.extra-conf-options }}
|
${{ inputs.extra-conf-options }} || (
|
||||||
|
echo "Dumping config.log:" &&
|
||||||
|
cat config.log &&
|
||||||
|
exit 1)
|
||||||
|
|
||||||
- name: 'Build'
|
- name: 'Build'
|
||||||
id: build
|
id: build
|
||||||
|
5
.github/workflows/build-macos.yml
vendored
5
.github/workflows/build-macos.yml
vendored
@ -97,7 +97,10 @@ jobs:
|
|||||||
--with-gtest=${{ steps.gtest.outputs.path }}
|
--with-gtest=${{ steps.gtest.outputs.path }}
|
||||||
--enable-jtreg-failure-handler
|
--enable-jtreg-failure-handler
|
||||||
--with-zlib=system
|
--with-zlib=system
|
||||||
${{ inputs.extra-conf-options }}
|
${{ inputs.extra-conf-options }} || (
|
||||||
|
echo "Dumping config.log:" &&
|
||||||
|
cat config.log &&
|
||||||
|
exit 1)
|
||||||
|
|
||||||
- name: 'Build'
|
- name: 'Build'
|
||||||
id: build
|
id: build
|
||||||
|
5
.github/workflows/build-windows.yml
vendored
5
.github/workflows/build-windows.yml
vendored
@ -110,7 +110,10 @@ jobs:
|
|||||||
--with-gtest=${{ steps.gtest.outputs.path }}
|
--with-gtest=${{ steps.gtest.outputs.path }}
|
||||||
--enable-jtreg-failure-handler
|
--enable-jtreg-failure-handler
|
||||||
--with-msvc-toolset-version=${{ inputs.msvc-toolset-version }}
|
--with-msvc-toolset-version=${{ inputs.msvc-toolset-version }}
|
||||||
${{ inputs.extra-conf-options }}
|
${{ inputs.extra-conf-options }} || (
|
||||||
|
echo "Dumping config.log:" &&
|
||||||
|
cat config.log &&
|
||||||
|
exit 1)
|
||||||
env:
|
env:
|
||||||
# We need a minimal PATH on Windows
|
# We need a minimal PATH on Windows
|
||||||
# Set PATH to "", so just GITHUB_PATH is included
|
# Set PATH to "", so just GITHUB_PATH is included
|
||||||
|
Loading…
Reference in New Issue
Block a user