From 23cdb02fe5cf8723ddbca35f4a12ec20f217e6ac Mon Sep 17 00:00:00 2001 From: Sebastian Nagel Date: Thu, 3 Oct 2024 15:57:36 +0200 Subject: [PATCH] build: add Github workflow to verify proper compilation and build --- .github/workflows/build.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..b488353 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +name: cc-index-table build + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + java: [ 11, 17, 21 ] + name: Java ${{ matrix.java }} + steps: + - uses: actions/checkout@v4 + + - name: Setup JDK + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: ${{ matrix.java }} + cache: 'maven' + + - name: Build + run: mvn verify javadoc:aggregate