@@ -93,25 +93,25 @@ jobs:
93
93
with :
94
94
platform : ${{ inputs.platform }}
95
95
96
- - name : ' Test platform'
97
- id : test-platform
98
- run : |
99
- echo "=== Environment ==="
100
- echo "PROCESSOR_IDENTIFIER: ${PROCESSOR_IDENTIFIER}"
101
- echo "uname -s: $(uname -s)"
102
- echo "uname -m: $(uname -m)"
103
- echo "uname -ar: $(uname -ar)"
104
- echo ""
105
- echo "=== Testing config.guess ==="
106
- cd make/autoconf/build-aux
107
- echo "Direct autoconf-config.guess:"
108
- ./autoconf-config.guess || echo "autoconf-config.guess failed"
109
- echo ""
110
- echo "Custom config.guess:"
111
- bash -x ./config.guess
112
- echo "config.site"
113
- cat /etc/config.site
114
- shell : env /usr/bin/bash --login -eo pipefail {0}
96
+ # - name: 'Test platform'
97
+ # id: test-platform
98
+ # run: |
99
+ # echo "=== Environment ==="
100
+ # echo "PROCESSOR_IDENTIFIER: ${PROCESSOR_IDENTIFIER}"
101
+ # echo "uname -s: $(uname -s)"
102
+ # echo "uname -m: $(uname -m)"
103
+ # echo "uname -ar: $(uname -ar)"
104
+ # echo ""
105
+ # echo "=== Testing config.guess ==="
106
+ # cd make/autoconf/build-aux
107
+ # echo "Direct autoconf-config.guess:"
108
+ # ./autoconf-config.guess || echo "autoconf-config.guess failed"
109
+ # echo ""
110
+ # echo "Custom config.guess:"
111
+ # bash -x ./config.guess
112
+ # echo "config.site"
113
+ # cat /etc/config.site
114
+ # shell: env /usr/bin/bash --login -eo pipefail {0}
115
115
116
116
- name : ' Get JTReg'
117
117
id : jtreg
@@ -149,18 +149,7 @@ jobs:
149
149
150
150
- name : ' Configure'
151
151
run : >
152
- echo "=== Platform Detection During Configure ===" &&
153
- echo "Before configure - PROCESSOR_IDENTIFIER: ${PROCESSOR_IDENTIFIER}" &&
154
- echo "Before configure - config.guess output:" &&
155
- make/autoconf/build-aux/config.guess &&
156
- echo "=== Environment Check ===" &&
157
- echo "BUILD_PLATFORM: ${BUILD_PLATFORM:-not set}" &&
158
- echo "HOST_PLATFORM: ${HOST_PLATFORM:-not set}" &&
159
- echo "TARGET_PLATFORM: ${TARGET_PLATFORM:-not set}" &&
160
- echo "Remove /etc/config.site" &&
161
- rm -f /etc/config.site &&
162
- echo "=== Running Configure ===" &&
163
- bash -x configure
152
+ bash configure
164
153
--with-conf-name=${{ inputs.platform }}
165
154
${{ matrix.flags }}
166
155
--with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
@@ -169,24 +158,16 @@ jobs:
169
158
--with-gtest=${{ steps.gtest.outputs.path }}
170
159
--with-msvc-toolset-version=${{ inputs.msvc-toolset-version }}
171
160
--with-jmod-compress=zip-1
172
- ${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} 2>&1 | tee configure.log || (
161
+ ${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
173
162
echo "Dumping config.log:" &&
174
163
cat config.log &&
175
- echo "Dumping configure.log:" &&
176
- cat configure.log &&
177
164
exit 1)
178
165
env :
179
166
# We need a minimal PATH on Windows
180
167
# Set PATH to "", so just GITHUB_PATH is included
181
168
PATH : ' '
182
169
shell : env /usr/bin/bash --login -eo pipefail {0}
183
170
184
- - name : ' Upload configure log'
185
- uses : actions/upload-artifact@v4
186
- with :
187
- name : configure-log-${{ inputs.platform }}${{ matrix.suffix }}
188
- path : configure.log
189
-
190
171
- name : ' Build'
191
172
id : build
192
173
uses : ./.github/actions/do-build
0 commit comments