Skip to content

build: use a self hosted runner to speed up building #718

build: use a self hosted runner to speed up building

build: use a self hosted runner to speed up building #718

Workflow file for this run

name: Build OpenJDK 17 for Android and iOS
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 1 1 */2 *'
jobs:
build_android:
strategy:
matrix:
arch: ["aarch64"]
fail-fast: false
name: "Build for Android ${{matrix.arch}}"
runs-on: self-hosted
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: set up JDK 1.17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- name: Install build dependencies
run: |
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"
- name: Upload JDK build output
uses: actions/upload-artifact@v4
with:
name: "jdk17-${{matrix.arch}}"
path: jdk17*.tar.xz
- name: Upload JRE build output
uses: actions/upload-artifact@v4
with:
name: "jre17-${{matrix.arch}}"
path: jre17*.tar.xz
- name: Upload JRE debuginfo build output
uses: actions/upload-artifact@v4
with:
name: "jre17-debuginfo-${{matrix.arch}}"
path: dizout