8256414: add optimized build to submit workflow

add linux-x64-optimized to submit workflow

Reviewed-by: vlivanov, shade, kvn
This commit is contained in:
Igor Ignatyev 2020-11-16 19:30:43 +00:00
parent 3675653c20
commit 68fd71d2ad

View File

@ -119,6 +119,7 @@ jobs:
- build hotspot no-pch - build hotspot no-pch
- build hotspot zero - build hotspot zero
- build hotspot minimal - build hotspot minimal
- build hotspot optimized
include: include:
- flavor: build debug - flavor: build debug
flags: --enable-debug flags: --enable-debug
@ -132,6 +133,9 @@ jobs:
- flavor: build hotspot minimal - flavor: build hotspot minimal
flags: --enable-debug --disable-precompiled-headers --with-jvm-variants=minimal flags: --enable-debug --disable-precompiled-headers --with-jvm-variants=minimal
build-target: hotspot build-target: hotspot
- flavor: build hotspot optimized
flags: --with-debug-level=optimized --disable-precompiled-headers
build-target: hotspot
env: env:
JDK_VERSION: "${{ fromJson(needs.prerequisites.outputs.dependencies).DEFAULT_VERSION_FEATURE }}" JDK_VERSION: "${{ fromJson(needs.prerequisites.outputs.dependencies).DEFAULT_VERSION_FEATURE }}"