build: make it easier to follow script execution

This commit is contained in:
Mathias-Boulay 2024-06-15 12:33:51 +02:00
parent 52493b4db7
commit 7fc629ab1c
13 changed files with 90 additions and 91 deletions

View File

@ -5,7 +5,7 @@ on:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 1 1 */2 *'
- cron: "0 1 1 */2 *"
jobs:
build_android:
@ -29,7 +29,7 @@ jobs:
sudo apt update
sudo apt -y install autoconf python3 python-is-python3 unzip zip systemtap-sdt-dev libxtst-dev libasound2-dev libelf-dev libfontconfig1-dev libx11-dev libxext-dev libxrandr-dev libxrender-dev libxtst-dev libxt-dev
- name: Build with CI build script
run: bash "ci_build_arch_${{matrix.arch}}.sh"
run: bash "1_ci_build_arch_${{matrix.arch}}.sh"
- name: Upload JDK build output
uses: actions/upload-artifact@v4
with:
@ -38,7 +38,7 @@ jobs:
- name: Upload JRE build output
uses: actions/upload-artifact@v4
with:
name: 'jre17-${{matrix.arch}}'
name: "jre17-${{matrix.arch}}"
path: jre17*.tar.xz
- name: Upload JRE debuginfo build output
uses: actions/upload-artifact@v4
@ -59,7 +59,7 @@ jobs:
export PATH=/opt/procursus/bin:/opt/homebrew/bin:$PATH
export JAVA_HOME=$(/usr/libexec/java_home -v 17)
export BUILD_IOS=1
bash "ci_build_arch_aarch64.sh"
bash "1_ci_build_arch_aarch64.sh"
# - name: Upload JDK build output
# uses: actions/upload-artifact@v4
@ -70,7 +70,7 @@ jobs:
- name: Upload JRE build output
uses: actions/upload-artifact@v4
with:
name: 'jre17-ios-aarch64'
name: "jre17-ios-aarch64"
path: jre17*.tar.xz
- name: Upload JRE debuginfo build output
@ -106,7 +106,7 @@ jobs:
name: jre17-x86_64
path: pojav
- name: Repack JRE
run: bash "repackjre.sh" $GITHUB_WORKSPACE/pojav $GITHUB_WORKSPACE/pojav/jre17-pojav
run: bash "9_repackjre.sh" $GITHUB_WORKSPACE/pojav $GITHUB_WORKSPACE/pojav/jre17-pojav
- name: Upload artifact
uses: actions/upload-artifact@v4
with:

View File

@ -4,5 +4,4 @@ set -e
export TARGET=armv7a-linux-androideabi
export TARGET_JDK=arm
bash ci_build_global.sh
bash 2_ci_build_global.sh

View File

@ -7,5 +7,5 @@ else
fi
export TARGET_JDK=aarch64
bash ci_build_global.sh
bash 2_ci_build_global.sh

View File

@ -4,5 +4,5 @@ set -e
export TARGET=i686-linux-android
export TARGET_JDK=x86
bash ci_build_global.sh
bash 2_ci_build_global.sh

View File

@ -4,5 +4,5 @@ set -e
export TARGET=x86_64-linux-android
export TARGET_JDK=x86_64
bash ci_build_global.sh
bash 2_ci_build_global.sh

View File

@ -21,9 +21,9 @@ fi
# Some modifies to NDK to fix
./getlibs.sh
./buildlibs.sh
./clonejdk.sh
./buildjdk.sh
./removejdkdebuginfo.sh
./tarjdk.sh
./3_getlibs.sh
./4_buildlibs.sh
./5_clonejdk.sh
./6_buildjdk.sh
./7_removejdkdebuginfo.sh
./8_tarjdk.sh