< prev index next >

.github/workflows/build-cross-compile.yml

Print this page

 38         required: false
 39         type: string
 40       make-arguments:
 41         required: false
 42         type: string
 43       dry-run:
 44         required: false
 45         type: boolean
 46         default: false
 47 
 48 jobs:
 49   build-cross-compile:
 50     name: build
 51     runs-on: ubuntu-22.04
 52 
 53     strategy:
 54       fail-fast: false
 55       matrix:
 56         target-cpu:
 57           - aarch64
 58           - arm
 59           - s390x
 60           - ppc64le
 61           - riscv64
 62         include:
 63           - target-cpu: aarch64
 64             gnu-arch: aarch64
 65             debian-arch: arm64
 66             debian-repository: https://httpredir.debian.org/debian/
 67             debian-version: trixie
 68             tolerate-sysroot-errors: false
 69           - target-cpu: arm
 70             gnu-arch: arm
 71             debian-arch: armhf
 72             debian-repository: https://httpredir.debian.org/debian/
 73             debian-version: trixie
 74             tolerate-sysroot-errors: false
 75             gnu-abi: eabihf
 76           - target-cpu: s390x
 77             gnu-arch: s390x
 78             debian-arch: s390x
 79             debian-repository: https://httpredir.debian.org/debian/
 80             debian-version: trixie
 81             tolerate-sysroot-errors: false
 82           - target-cpu: ppc64le
 83             gnu-arch: powerpc64le
 84             debian-arch: ppc64el
 85             debian-repository: https://httpredir.debian.org/debian/
 86             debian-version: trixie
 87             tolerate-sysroot-errors: false
 88           - target-cpu: riscv64
 89             gnu-arch: riscv64
 90             debian-arch: riscv64
 91             debian-repository: https://httpredir.debian.org/debian/
 92             debian-version: trixie
 93             tolerate-sysroot-errors: false
 94 
 95     steps:
 96       - name: 'Checkout the JDK source'
 97         uses: actions/checkout@v4
 98 
 99       - name: 'Get the BootJDK'
100         id: bootjdk
101         uses: ./.github/actions/get-bootjdk
102         with:
103           platform: linux-x64
104 
105       - name: 'Get GTest'
106         id: gtest
107         uses: ./.github/actions/get-gtest
108 
109         # Upgrading apt to solve libc6 installation bugs, see JDK-8260460.
110       - name: 'Install toolchain and dependencies'
111         run: |
112           # Install dependencies using apt-get
113           sudo apt-get update

 38         required: false
 39         type: string
 40       make-arguments:
 41         required: false
 42         type: string
 43       dry-run:
 44         required: false
 45         type: boolean
 46         default: false
 47 
 48 jobs:
 49   build-cross-compile:
 50     name: build
 51     runs-on: ubuntu-22.04
 52 
 53     strategy:
 54       fail-fast: false
 55       matrix:
 56         target-cpu:
 57           - aarch64
 58           # - arm
 59           # - s390x
 60           # - ppc64le
 61           # - riscv64
 62         include:
 63           - target-cpu: aarch64
 64             gnu-arch: aarch64
 65             debian-arch: arm64
 66             debian-repository: https://httpredir.debian.org/debian/
 67             debian-version: trixie
 68             tolerate-sysroot-errors: false
 69           # - target-cpu: arm
 70           #   gnu-arch: arm
 71           #   debian-arch: armhf
 72           #   debian-repository: https://httpredir.debian.org/debian/
 73           #   debian-version: trixie
 74           #   tolerate-sysroot-errors: false
 75           #   gnu-abi: eabihf
 76           # - target-cpu: s390x
 77           #   gnu-arch: s390x
 78           #   debian-arch: s390x
 79           #   debian-repository: https://httpredir.debian.org/debian/
 80           #   debian-version: trixie
 81           #   tolerate-sysroot-errors: false
 82           # - target-cpu: ppc64le
 83           #   gnu-arch: powerpc64le
 84           #   debian-arch: ppc64el
 85           #   debian-repository: https://httpredir.debian.org/debian/
 86           #   debian-version: trixie
 87           #   tolerate-sysroot-errors: false
 88           # - target-cpu: riscv64
 89           #   gnu-arch: riscv64
 90           #   debian-arch: riscv64
 91           #   debian-repository: https://httpredir.debian.org/debian/
 92           #   debian-version: trixie
 93           #   tolerate-sysroot-errors: false
 94 
 95     steps:
 96       - name: 'Checkout the JDK source'
 97         uses: actions/checkout@v4
 98 
 99       - name: 'Get the BootJDK'
100         id: bootjdk
101         uses: ./.github/actions/get-bootjdk
102         with:
103           platform: linux-x64
104 
105       - name: 'Get GTest'
106         id: gtest
107         uses: ./.github/actions/get-gtest
108 
109         # Upgrading apt to solve libc6 installation bugs, see JDK-8260460.
110       - name: 'Install toolchain and dependencies'
111         run: |
112           # Install dependencies using apt-get
113           sudo apt-get update
< prev index next >