Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select Xcode 11.7 for building the JDK #2197

Merged
merged 1 commit into from
Oct 31, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,22 @@ jobs:
- name: Build macOS
run: |
export JAVA_HOME=$JAVA_HOME_11_X64

# Configure Xcode version explicitly. Default versions may change any time.
# Available versions: https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md#xcode
case "${{ matrix.version }}" in
"jdk8u"|"jdk11u"|"jdk15u")
export DEVELOPER_DIR="/Applications/Xcode_11.7.app/Contents/Developer"
;;
"jdk")
export DEVELOPER_DIR="/Applications/Xcode_12.1.app/Contents/Developer"
;;
*)
echo "Unknown JDK version: ${{ matrix.version }}" >&2
exit 1
;;
esac

# Skip freetype build on jdk11+
if [ ${{ matrix.version }} != "jdk8u" ]; then
export BUILD_ARGS="--skip-freetype"
Expand Down