aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ant.yml25
1 files changed, 24 insertions, 1 deletions
diff --git a/.github/workflows/ant.yml b/.github/workflows/ant.yml
index c7ef99ad..98826b41 100644
--- a/.github/workflows/ant.yml
+++ b/.github/workflows/ant.yml
@@ -100,4 +100,27 @@ jobs:
${{ runner.os }}-
- name: Build with Ant
- run: ant -noinput dist test.${{ matrix.version }} \ No newline at end of file
+ run: ant -noinput dist test.${{ matrix.version }}
+
+ docker-integration-test:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ jdk: [8, 9, 10, 11, 12, 13, 14, 15, 16]
+ tool: [maven, gradle, ant, bazel]
+ fail-fast: false
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+
+ - uses: actions/download-artifact@v2
+ with:
+ name: lombok.jar
+
+ - name: Build container
+ working-directory: ./docker
+ run: docker build -t lombok-${{ matrix.tool }}-jdk${{ matrix.jdk }} -f ${{ matrix.tool }}/Dockerfile .
+
+ - name: Compile in container
+ run: docker run -v ./dist/lombok.jar:/workspace/lombok.jar lombok-maven-jdk16 /bin/bash -c "cd /classpath; mvn compile" \ No newline at end of file