2
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5
# This code is free software; you can redistribute it and/or modify it
6
# under the terms of the GNU General Public License version 2 only, as
7
# published by the Free Software Foundation. Oracle designates this
8
# particular file as subject to the "Classpath" exception as provided
9
# by Oracle in the LICENSE file that accompanied this code.
11
# This code is distributed in the hope that it will be useful, but WITHOUT
12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
# version 2 for more details (a copy is included in the LICENSE file that
15
# accompanied this code).
17
# You should have received a copy of the GNU General Public License version
18
# 2 along with this work; if not, write to the Free Software Foundation,
19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22
# or visit www.oracle.com if you need additional information or have any
43
default: 'product-bundles test-bundles'
47
default: '[ "debug", "release" ]'
48
xcode-toolset-version:
61
runs-on: ${{ inputs.runs-on }}
66
debug-level: ${{ fromJSON(inputs.debug-levels) }}
69
flags: --with-debug-level=fastdebug
73
- name: 'Checkout the JDK source'
74
uses: actions/checkout@v4
76
- name: 'Get the BootJDK'
78
uses: ./.github/actions/get-bootjdk
80
platform: ${{ inputs.platform }}
84
uses: ./.github/actions/get-jtreg
88
uses: ./.github/actions/get-gtest
90
- name: 'Install toolchain and dependencies'
92
# Run Homebrew installation and xcode-select
93
brew install autoconf make
94
sudo xcode-select --switch /Applications/Xcode_${{ inputs.xcode-toolset-version }}.app/Contents/Developer
95
# This will make GNU make available as 'make' and not only as 'gmake'
96
echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH
101
--with-conf-name=${{ inputs.platform }}
103
--with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
104
--with-boot-jdk=${{ steps.bootjdk.outputs.path }}
105
--with-jtreg=${{ steps.jtreg.outputs.path }}
106
--with-gtest=${{ steps.gtest.outputs.path }}
108
--with-jmod-compress=zip-1
109
${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
110
echo "Dumping config.log:" &&
116
uses: ./.github/actions/do-build
118
make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
119
platform: ${{ inputs.platform }}
120
debug-suffix: '${{ matrix.suffix }}'
122
- name: 'Upload bundles'
123
uses: ./.github/actions/upload-bundles
125
platform: ${{ inputs.platform }}
126
debug-suffix: '${{ matrix.suffix }}'