diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..2a69aa8 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,31 @@ +name: Build + +on: + push: + branches: + - main + pull_request: + +jobs: + build: + name: Build (${{ matrix.runner }}) + runs-on: ${{ matrix.runner }} + strategy: + matrix: + runner: + - ubuntu-24.04 + - ubuntu-24.04-arm + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up JDK 11 + uses: actions/setup-java@v4 + with: + java-version: "11" + distribution: temurin + cache: maven + + - name: Build with Maven + run: mvn --batch-mode verify diff --git a/pom.xml b/pom.xml index 1c8dab2..9d380e8 100644 --- a/pom.xml +++ b/pom.xml @@ -141,6 +141,13 @@ + + opa-linux-arm64 + + Linuxaarch64 + + linux_arm64_static + opa-linux-amd64