mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-09-11 13:15:32 -04:00
[Actions] Switch to J316sAP
The security setup on J316sAP doesn't allow for the actions user to install from Homebrew.
This commit is contained in:
parent
f3936fba6f
commit
b7ec44cb09
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -60,7 +60,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
||||||
name: "Build Java ${{ matrix.version }} for iOS aarch64"
|
name: "Build Java ${{ matrix.version }} for iOS aarch64"
|
||||||
runs-on: MacStadium
|
runs-on: J316sAP
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@ -70,7 +70,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
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 J316SAP=1
|
||||||
export TARGET_VERSION=${{ matrix.version }}
|
export TARGET_VERSION=${{ matrix.version }}
|
||||||
bash "1_ci_build_arch_aarch64.sh"
|
bash "1_ci_build_arch_aarch64.sh"
|
||||||
|
|
||||||
|
@ -77,7 +77,9 @@ else
|
|||||||
export LDFLAGS+="-arch arm64"
|
export LDFLAGS+="-arch arm64"
|
||||||
export BUILD_SYSROOT_CFLAGS="-isysroot ${themacsysroot}"
|
export BUILD_SYSROOT_CFLAGS="-isysroot ${themacsysroot}"
|
||||||
|
|
||||||
HOMEBREW_NO_AUTO_UPDATE=1 brew install fontconfig ldid xquartz autoconf
|
if [[ "$J316SAP" != "1" ]]; then
|
||||||
|
HOMEBREW_NO_AUTO_UPDATE=1 brew install fontconfig ldid xquartz autoconf
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# fix building libjawt
|
# fix building libjawt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user