update workflow #176
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI ARM Gradle | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ ubuntu-22.04-arm, ubuntu-24.04-arm ] | |
distribution: [ 'temurin', 'liberica' ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: gradle/actions/[email protected] | |
- name: Set up JDK 8, arm | |
uses: actions/setup-java@v4 | |
with: | |
distribution: ${{ matrix.distribution }} | |
java-version: '8.0.302' | |
java-package: jdk | |
cache: 'gradle' | |
- name: Run gradle and ant builds | |
run: | | |
java -version | |
chmod +x ./gradlew | |
./gradlew build --no-daemon | |
ant -noinput -buildfile build.xml -Drepository="/.gradle/caches/modules-2/files-2.1" -Dgson_path="/com.google.code.gson/gson/2.12.0/10596b68aaca6230f7c40bfd9298b21ff4b84103" clean all build-jar |