Skip to content

Commit 60f4b91

Browse files
committedSep 5, 2024
Merge
2 parents 96783dc + 96a0502 commit 60f4b91

File tree

291 files changed

+4466
-2812
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

291 files changed

+4466
-2812
lines changed
 

‎.github/actions/upload-bundles/action.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -45,6 +45,7 @@ runs:
4545
jdk_bundle_tar_gz="$(ls build/*/bundles/jdk-*_bin${{ inputs.debug-suffix }}.tar.gz 2> /dev/null || true)"
4646
symbols_bundle="$(ls build/*/bundles/jdk-*_bin${{ inputs.debug-suffix }}-symbols.tar.gz 2> /dev/null || true)"
4747
tests_bundle="$(ls build/*/bundles/jdk-*_bin-tests${{ inputs.debug-suffix }}.tar.gz 2> /dev/null || true)"
48+
static_libs_bundle="$(ls build/*/bundles/jdk-*_bin-static-libs${{ inputs.debug-suffix }}.tar.gz 2> /dev/null || true)"
4849
4950
mkdir bundles
5051
@@ -60,8 +61,11 @@ runs:
6061
if [[ "$tests_bundle" != "" ]]; then
6162
mv "$tests_bundle" "bundles/tests-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz"
6263
fi
64+
if [[ "$static_libs_bundle" != "" ]]; then
65+
mv "$static_libs_bundle" "bundles/static-libs-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz"
66+
fi
6367
64-
if [[ "$jdk_bundle_zip$jdk_bundle_tar_gz$symbols_bundle$tests_bundle" != "" ]]; then
68+
if [[ "$jdk_bundle_zip$jdk_bundle_tar_gz$symbols_bundle$tests_bundle$static_libs_bundle" != "" ]]; then
6569
echo 'bundles-found=true' >> $GITHUB_OUTPUT
6670
else
6771
echo 'bundles-found=false' >> $GITHUB_OUTPUT

‎.github/workflows/build-linux.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -133,8 +133,12 @@ jobs:
133133
- name: 'Build'
134134
id: build
135135
uses: ./.github/actions/do-build
136+
env:
137+
# Only build static-libs-bundles for release builds.
138+
# For debug builds, building static-libs often exceeds disk space.
139+
STATIC_LIBS: ${{ matrix.debug-level == 'release' && 'static-libs-bundles' }}
136140
with:
137-
make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
141+
make-target: '${{ inputs.make-target }} ${STATIC_LIBS} ${{ inputs.make-arguments }}'
138142
platform: ${{ inputs.platform }}
139143
debug-suffix: '${{ matrix.suffix }}'
140144

0 commit comments

Comments
 (0)