Commit 8e22f2b 1 parent b17758a commit 8e22f2b Copy full SHA for 8e22f2b
File tree 4 files changed +19
-3
lines changed
4 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 37
37
apt-gcc-cross-version :
38
38
required : true
39
39
type : string
40
+ extra-conf-options :
41
+ required : false
42
+ type : string
40
43
41
44
jobs :
42
45
build-cross-compile :
@@ -142,6 +145,10 @@ jobs:
142
145
--with-build-jdk=${{ steps.buildjdk.outputs.jdk-path }}
143
146
CC=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-gcc-${{ inputs.gcc-major-version }}
144
147
CXX=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-g++-${{ inputs.gcc-major-version }}
148
+ ${{ inputs.extra-conf-options }} || (
149
+ echo "Dumping config.log:" &&
150
+ cat config.log &&
151
+ exit 1)
145
152
146
153
- name : ' Build'
147
154
id : build
Original file line number Diff line number Diff line change @@ -122,7 +122,10 @@ jobs:
122
122
--with-gtest=${{ steps.gtest.outputs.path }}
123
123
--enable-jtreg-failure-handler
124
124
--with-zlib=system
125
- ${{ inputs.extra-conf-options }}
125
+ ${{ inputs.extra-conf-options }} || (
126
+ echo "Dumping config.log:" &&
127
+ cat config.log &&
128
+ exit 1)
126
129
127
130
- name : ' Build'
128
131
id : build
Original file line number Diff line number Diff line change 97
97
--with-gtest=${{ steps.gtest.outputs.path }}
98
98
--enable-jtreg-failure-handler
99
99
--with-zlib=system
100
- ${{ inputs.extra-conf-options }}
100
+ ${{ inputs.extra-conf-options }} || (
101
+ echo "Dumping config.log:" &&
102
+ cat config.log &&
103
+ exit 1)
101
104
102
105
- name : ' Build'
103
106
id : build
Original file line number Diff line number Diff line change @@ -110,7 +110,10 @@ jobs:
110
110
--with-gtest=${{ steps.gtest.outputs.path }}
111
111
--enable-jtreg-failure-handler
112
112
--with-msvc-toolset-version=${{ inputs.msvc-toolset-version }}
113
- ${{ inputs.extra-conf-options }}
113
+ ${{ inputs.extra-conf-options }} || (
114
+ echo "Dumping config.log:" &&
115
+ cat config.log &&
116
+ exit 1)
114
117
env :
115
118
# We need a minimal PATH on Windows
116
119
# Set PATH to "", so just GITHUB_PATH is included
You can’t perform that action at this time.
0 commit comments