Skip to content

Commit fd38e86

Browse files
committed
8338286: GHA: Demote x86_32 to hotspot build only
Reviewed-by: phh Backport-of: da7311bbe37c2b9632b117d52a77c659047820b7
1 parent ada58fa commit fd38e86

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ on:
3535
platforms:
3636
description: 'Platform(s) to execute on (comma separated, e.g. "linux-x64, macos, aarch64")'
3737
required: true
38-
default: 'linux-x64, linux-x86, linux-x64-variants, linux-cross-compile, macos-x64, macos-aarch64, windows-x64, windows-aarch64'
38+
default: 'linux-x64, linux-x86-hs, linux-x64-variants, linux-cross-compile, macos-x64, macos-aarch64, windows-x64, windows-aarch64'
3939
configure-arguments:
4040
description: 'Additional configure arguments'
4141
required: false
@@ -58,7 +58,7 @@ jobs:
5858
runs-on: ubuntu-22.04
5959
outputs:
6060
linux-x64: ${{ steps.include.outputs.linux-x64 }}
61-
linux-x86: ${{ steps.include.outputs.linux-x86 }}
61+
linux-x86-hs: ${{ steps.include.outputs.linux-x86-hs }}
6262
linux-x64-variants: ${{ steps.include.outputs.linux-x64-variants }}
6363
linux-cross-compile: ${{ steps.include.outputs.linux-cross-compile }}
6464
macos-x64: ${{ steps.include.outputs.macos-x64 }}
@@ -109,7 +109,7 @@ jobs:
109109
}
110110
111111
echo "linux-x64=$(check_platform linux-x64 linux x64)" >> $GITHUB_OUTPUT
112-
echo "linux-x86=$(check_platform linux-x86 linux x86)" >> $GITHUB_OUTPUT
112+
echo "linux-x86-hs=$(check_platform linux-x86-hs linux x86)" >> $GITHUB_OUTPUT
113113
echo "linux-x64-variants=$(check_platform linux-x64-variants variants)" >> $GITHUB_OUTPUT
114114
echo "linux-cross-compile=$(check_platform linux-cross-compile cross-compile)" >> $GITHUB_OUTPUT
115115
echo "macos-x64=$(check_platform macos-x64 macos x64)" >> $GITHUB_OUTPUT
@@ -132,12 +132,13 @@ jobs:
132132
make-arguments: ${{ github.event.inputs.make-arguments }}
133133
if: needs.select.outputs.linux-x64 == 'true'
134134

135-
build-linux-x86:
136-
name: linux-x86
135+
build-linux-x86-hs:
136+
name: linux-x86-hs
137137
needs: select
138138
uses: ./.github/workflows/build-linux.yml
139139
with:
140140
platform: linux-x86
141+
make-target: 'hotspot'
141142
gcc-major-version: '10'
142143
gcc-package-suffix: '-multilib'
143144
apt-architecture: 'i386'
@@ -147,7 +148,7 @@ jobs:
147148
extra-conf-options: '--with-target-bits=32'
148149
configure-arguments: ${{ github.event.inputs.configure-arguments }}
149150
make-arguments: ${{ github.event.inputs.make-arguments }}
150-
if: needs.select.outputs.linux-x86 == 'true'
151+
if: needs.select.outputs.linux-x86-hs == 'true'
151152

152153
build-linux-x64-hs-nopch:
153154
name: linux-x64-hs-nopch
@@ -281,16 +282,6 @@ jobs:
281282
bootjdk-platform: linux-x64
282283
runs-on: ubuntu-22.04
283284

284-
test-linux-x86:
285-
name: linux-x86
286-
needs:
287-
- build-linux-x86
288-
uses: ./.github/workflows/test.yml
289-
with:
290-
platform: linux-x86
291-
bootjdk-platform: linux-x64
292-
runs-on: ubuntu-22.04
293-
294285
test-macos-x64:
295286
name: macos-x64
296287
needs:
@@ -328,7 +319,7 @@ jobs:
328319
if: always()
329320
needs:
330321
- build-linux-x64
331-
- build-linux-x86
322+
- build-linux-x86-hs
332323
- build-linux-x64-hs-nopch
333324
- build-linux-x64-hs-zero
334325
- build-linux-x64-hs-minimal
@@ -339,7 +330,6 @@ jobs:
339330
- build-windows-x64
340331
- build-windows-aarch64
341332
- test-linux-x64
342-
- test-linux-x86
343333
- test-macos-x64
344334
- test-windows-x64
345335

0 commit comments

Comments
 (0)