407 continue-on-error: true
408
409 linux_additional_build:
410 name: Linux additional
411 runs-on: "ubuntu-20.04"
412 needs:
413 - prerequisites
414 - linux_x64_build
415 if: needs.prerequisites.outputs.should_run != 'false' && needs.prerequisites.outputs.platform_linux_additional != 'false'
416
417 strategy:
418 fail-fast: false
419 matrix:
420 flavor:
421 - hs x64 build only
422 - hs x64 zero build only
423 - hs x64 minimal build only
424 - hs x64 optimized build only
425 - hs aarch64 build only
426 - hs arm build only
427 - hs s390x build only
428 - hs ppc64le build only
429 include:
430 - flavor: hs x64 build only
431 flags: --enable-debug --disable-precompiled-headers
432 - flavor: hs x64 zero build only
433 flags: --enable-debug --disable-precompiled-headers --with-jvm-variants=zero
434 - flavor: hs x64 minimal build only
435 flags: --enable-debug --disable-precompiled-headers --with-jvm-variants=minimal
436 - flavor: hs x64 optimized build only
437 flags: --with-debug-level=optimized --disable-precompiled-headers
438 - flavor: hs aarch64 build only
439 flags: --enable-debug --disable-precompiled-headers
440 debian-arch: arm64
441 gnu-arch: aarch64
442 - flavor: hs arm build only
443 flags: --enable-debug --disable-precompiled-headers
444 debian-arch: armhf
445 gnu-arch: arm
446 gnu-flavor: eabihf
447 - flavor: hs s390x build only
448 flags: --enable-debug --disable-precompiled-headers
449 debian-arch: s390x
450 gnu-arch: s390x
451 - flavor: hs ppc64le build only
452 flags: --enable-debug --disable-precompiled-headers
453 debian-arch: ppc64el
454 gnu-arch: powerpc64le
455
456 env:
457 JDK_VERSION: "${{ needs.prerequisites.outputs.jdk_version }}"
458 BOOT_JDK_VERSION: "${{ fromJson(needs.prerequisites.outputs.dependencies).BOOT_JDK_VERSION }}"
459 BOOT_JDK_FILENAME: "${{ fromJson(needs.prerequisites.outputs.dependencies).LINUX_X64_BOOT_JDK_FILENAME }}"
460 BOOT_JDK_URL: "${{ fromJson(needs.prerequisites.outputs.dependencies).LINUX_X64_BOOT_JDK_URL }}"
461 BOOT_JDK_SHA256: "${{ fromJson(needs.prerequisites.outputs.dependencies).LINUX_X64_BOOT_JDK_SHA256 }}"
462
463 steps:
464 - name: Checkout the source
465 uses: actions/checkout@v3
466 with:
467 path: jdk
468
469 - name: Restore boot JDK from cache
470 id: bootjdk
471 uses: actions/cache@v3
472 with:
473 path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }}
474 key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1
|
407 continue-on-error: true
408
409 linux_additional_build:
410 name: Linux additional
411 runs-on: "ubuntu-20.04"
412 needs:
413 - prerequisites
414 - linux_x64_build
415 if: needs.prerequisites.outputs.should_run != 'false' && needs.prerequisites.outputs.platform_linux_additional != 'false'
416
417 strategy:
418 fail-fast: false
419 matrix:
420 flavor:
421 - hs x64 build only
422 - hs x64 zero build only
423 - hs x64 minimal build only
424 - hs x64 optimized build only
425 - hs aarch64 build only
426 - hs arm build only
427 include:
428 - flavor: hs x64 build only
429 flags: --enable-debug --disable-precompiled-headers
430 - flavor: hs x64 zero build only
431 flags: --enable-debug --disable-precompiled-headers --with-jvm-variants=zero
432 - flavor: hs x64 minimal build only
433 flags: --enable-debug --disable-precompiled-headers --with-jvm-variants=minimal
434 - flavor: hs x64 optimized build only
435 flags: --with-debug-level=optimized --disable-precompiled-headers
436 - flavor: hs aarch64 build only
437 flags: --enable-debug --disable-precompiled-headers
438 debian-arch: arm64
439 gnu-arch: aarch64
440 - flavor: hs arm build only
441 flags: --enable-debug --disable-precompiled-headers
442 debian-arch: armhf
443 gnu-arch: arm
444 gnu-flavor: eabihf
445
446 env:
447 JDK_VERSION: "${{ needs.prerequisites.outputs.jdk_version }}"
448 BOOT_JDK_VERSION: "${{ fromJson(needs.prerequisites.outputs.dependencies).BOOT_JDK_VERSION }}"
449 BOOT_JDK_FILENAME: "${{ fromJson(needs.prerequisites.outputs.dependencies).LINUX_X64_BOOT_JDK_FILENAME }}"
450 BOOT_JDK_URL: "${{ fromJson(needs.prerequisites.outputs.dependencies).LINUX_X64_BOOT_JDK_URL }}"
451 BOOT_JDK_SHA256: "${{ fromJson(needs.prerequisites.outputs.dependencies).LINUX_X64_BOOT_JDK_SHA256 }}"
452
453 steps:
454 - name: Checkout the source
455 uses: actions/checkout@v3
456 with:
457 path: jdk
458
459 - name: Restore boot JDK from cache
460 id: bootjdk
461 uses: actions/cache@v3
462 with:
463 path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }}
464 key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1
|