mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-08-03 07:35:59 -04:00
[FEAT] Add TARGET_OS
Used to name the tarballs a bit clearer, mainly for Jenkins.
This commit is contained in:
parent
a23217a8f3
commit
2c9325e911
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "jdk8-${{matrix.arch}}"
|
||||
path: jdk8*.tar.xz
|
||||
path: jdk8-android*.tar.xz
|
||||
|
||||
- name: Setup tmate session if failed
|
||||
if: ${{ failure() }}
|
||||
@ -44,7 +44,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: 'jre8-${{matrix.arch}}'
|
||||
path: jre8*.tar.xz
|
||||
path: jre8-android*.tar.xz
|
||||
- name: Upload JRE debuginfo build output
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
@ -71,13 +71,13 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "jdk8-ios-aarch64"
|
||||
path: jdk8*.tar.xz
|
||||
path: jdk8-ios*.tar.xz
|
||||
|
||||
- name: Upload JRE build output
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: 'jre8-ios-aarch64'
|
||||
path: jre8*.tar.xz
|
||||
path: jre8-ios*.tar.xz
|
||||
|
||||
- name: Upload JRE debuginfo build output
|
||||
uses: actions/upload-artifact@v4
|
||||
|
@ -50,6 +50,8 @@ if [[ "$BUILD_IOS" == "1" ]]; then
|
||||
export HOTSPOT_DISABLE_DTRACE_PROBES=1
|
||||
|
||||
export ANDROID_INCLUDE=$PWD/ios-missing-include
|
||||
|
||||
export TARGET_OS=ios
|
||||
else
|
||||
|
||||
export JVM_PLATFORM=linux
|
||||
@ -76,4 +78,6 @@ export LD=$TOOLCHAIN/bin/$TARGET-ld
|
||||
export OBJCOPY=$TOOLCHAIN/bin/$TARGET-objcopy
|
||||
export RANLIB=$TOOLCHAIN/bin/$TARGET-ranlib
|
||||
export STRIP=$TOOLCHAIN/bin/$TARGET-strip
|
||||
|
||||
export TARGET_OS=android
|
||||
fi
|
||||
|
@ -34,8 +34,8 @@ cd jreout
|
||||
# Strip in place all .so files thanks to the ndk
|
||||
find ./ -name '*.so' -execdir ${NDK}${NDK_PREBUILT_ARCH} {} \;
|
||||
|
||||
tar cJf ../jre8-${TARGET_SHORT}-`date +%Y%m%d`-${JDK_DEBUG_LEVEL}.tar.xz .
|
||||
tar cJf ../jre8-${TARGET_OS}-${TARGET_SHORT}-`date +%Y%m%d`-${JDK_DEBUG_LEVEL}.tar.xz .
|
||||
|
||||
cd ../jdkout
|
||||
tar cJf ../jdk8-${TARGET_SHORT}-`date +%Y%m%d`-${JDK_DEBUG_LEVEL}.tar.xz .
|
||||
tar cJf ../jdk8-${TARGET_OS}-${TARGET_SHORT}-`date +%Y%m%d`-${JDK_DEBUG_LEVEL}.tar.xz .
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user