Try build without headless

This commit is contained in:
khanhduytran0 2020-09-21 18:23:41 +07:00
parent 3c8e929c22
commit 9592fe58af
4 changed files with 1136 additions and 1 deletions

24
.github/workflows/build_x86.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Build OpenJDK for Android x86
on: [push]
jobs:
build:
runs-on: ubuntu-18.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with CI build script
run: bash ci_build_arch_x86.sh
- name: Upload build output
uses: actions/upload-artifact@v2
with:
# name: jre
path: jre*.tar.xz

View File

@ -18,11 +18,11 @@ cp -R -f override-jre-files/* openjdk/
cd openjdk cd openjdk
rm -rf build rm -rf build
# --enable-headless-only \
bash ./configure \ bash ./configure \
--enable-option-checking=fatal \ --enable-option-checking=fatal \
--openjdk-target=$TARGET \ --openjdk-target=$TARGET \
--disable-warnings-as-errors \ --disable-warnings-as-errors \
--enable-headless-only \
--with-jdk-variant=normal \ --with-jdk-variant=normal \
--with-cups-include=$CUPS_DIR \ --with-cups-include=$CUPS_DIR \
--with-devkit=$ANDROID_DEVKIT \ --with-devkit=$ANDROID_DEVKIT \

File diff suppressed because it is too large Load Diff