Skip to content

Commit f7d52ca

Browse files
committed
Clean debug changes
1 parent 3d10f0d commit f7d52ca

File tree

1 file changed

+21
-40
lines changed

1 file changed

+21
-40
lines changed

.github/workflows/build-windows.yml

Lines changed: 21 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -93,25 +93,25 @@ jobs:
9393
with:
9494
platform: ${{ inputs.platform }}
9595

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}
115115

116116
- name: 'Get JTReg'
117117
id: jtreg
@@ -149,18 +149,7 @@ jobs:
149149

150150
- name: 'Configure'
151151
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
164153
--with-conf-name=${{ inputs.platform }}
165154
${{ matrix.flags }}
166155
--with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
@@ -169,24 +158,16 @@ jobs:
169158
--with-gtest=${{ steps.gtest.outputs.path }}
170159
--with-msvc-toolset-version=${{ inputs.msvc-toolset-version }}
171160
--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 }} || (
173162
echo "Dumping config.log:" &&
174163
cat config.log &&
175-
echo "Dumping configure.log:" &&
176-
cat configure.log &&
177164
exit 1)
178165
env:
179166
# We need a minimal PATH on Windows
180167
# Set PATH to "", so just GITHUB_PATH is included
181168
PATH: ''
182169
shell: env /usr/bin/bash --login -eo pipefail {0}
183170

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-
190171
- name: 'Build'
191172
id: build
192173
uses: ./.github/actions/do-build

0 commit comments

Comments
 (0)