mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-09-14 22:56:08 -04:00
fix(build ios): use target version
This commit is contained in:
parent
c469d2ec51
commit
e49aca792a
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -71,6 +71,7 @@ jobs:
|
|||||||
export PATH=/opt/procursus/bin:/opt/homebrew/bin:$PATH
|
export PATH=/opt/procursus/bin:/opt/homebrew/bin:$PATH
|
||||||
export JAVA_HOME=$(/usr/libexec/java_home -v ${{ matrix.version }})
|
export JAVA_HOME=$(/usr/libexec/java_home -v ${{ matrix.version }})
|
||||||
export BUILD_IOS=1
|
export BUILD_IOS=1
|
||||||
|
export TARGET_VERSION=${{ matrix.version }}
|
||||||
bash "1_ci_build_arch_aarch64.sh"
|
bash "1_ci_build_arch_aarch64.sh"
|
||||||
|
|
||||||
# - name: Upload JDK build output
|
# - name: Upload JDK build output
|
||||||
|
@ -60,7 +60,7 @@ else
|
|||||||
ln -s -f /usr/local/include/fontconfig $ANDROID_INCLUDE/
|
ln -s -f /usr/local/include/fontconfig $ANDROID_INCLUDE/
|
||||||
fi
|
fi
|
||||||
platform_args="--with-toolchain-type=clang --with-sysroot=$(xcrun --sdk iphoneos --show-sdk-path) \
|
platform_args="--with-toolchain-type=clang --with-sysroot=$(xcrun --sdk iphoneos --show-sdk-path) \
|
||||||
--with-boot-jdk=$(/usr/libexec/java_home -v 17) \
|
--with-boot-jdk=$(/usr/libexec/java_home -v $TARGET_VERSION) \
|
||||||
--with-freetype=bundled \
|
--with-freetype=bundled \
|
||||||
"
|
"
|
||||||
AUTOCONF_x11arg="--with-x=/opt/X11/include/X11 --prefix=/usr/lib"
|
AUTOCONF_x11arg="--with-x=/opt/X11/include/X11 --prefix=/usr/lib"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user