diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 7fe75ed19..f8aa633d9 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -33,3 +33,25 @@ jobs: ${{ runner.os }}-maven- - name: Build with Maven run: ./mvnw clean install -B -U -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false + + test_arm64: + runs-on: ubuntu-latest + strategy: + matrix: + java: ["8"] + fail-fast: false + steps: + - uses: actions/checkout@v2 + - name: Set up QEMU + id: qemu + uses: docker/setup-qemu-action@v1 + - name: Install and Run tests + run: | + docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \ + arm64v8/ubuntu:20.04 \ + bash -exc 'apt-get update -y && \ + apt-get install openjdk-8-jdk -y && \ + export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-arm64 && \ + export PATH=$PATH:$JAVA_HOME/bin && \ + echo $PATH && \ + ./mvnw clean install -B -U -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false' diff --git a/pom.xml b/pom.xml index c60d870a9..f86382b13 100644 --- a/pom.xml +++ b/pom.xml @@ -158,7 +158,9 @@ 2.8.2 + org.apache.maven.plugins maven-surefire-plugin + 2.19.1 true @@ -487,7 +489,9 @@ + org.apache.maven.plugins maven-surefire-plugin + 2.19.1 ${surefireArgLine} @@ -501,7 +505,9 @@ + org.apache.maven.plugins maven-surefire-plugin + 2.19.1 DockerRequired