-
Notifications
You must be signed in to change notification settings - Fork 165
47 lines (41 loc) · 1.18 KB
/
gradle_arm.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Gradle Build on ARM
on:
push:
branches:
- master
pull_request:
jobs:
gradle_arm:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v4
- name: test_on_arm
continue-on-error: true
uses: uraimo/[email protected]
with:
arch: aarch64
distro: ubuntu18.04
# Not required, but speeds up builds by storing container images in
# a GitHub package registry.
githubToken: ${{ github.token }}
install: |
apt-get update -q -y
apt-get install openjdk-8-jdk -q -y
# Build library using gradle
run: |
./gradlew --console=plain build
- name: test_on_arm_retry
if: steps.test_on_arm.outcome=='failure'
uses: uraimo/[email protected]
with:
arch: aarch64
distro: ubuntu18.04
# Not required, but speeds up builds by storing container images in
# a GitHub package registry.
githubToken: ${{ github.token }}
install: |
apt-get update -q -y
apt-get install openjdk-8-jdk -q -y
# Build library using gradle
run: |
./gradlew --console=plain build