diff options
author | Rawi01 <Rawi01@users.noreply.github.com> | 2021-04-18 15:24:43 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2023-03-22 10:22:34 +0100 |
commit | ec7a2e1164eddf2eabbd47c354276a9c83473082 (patch) | |
tree | 30717a47a4a79f0bdee2043e4c20edb408e97aa5 /.github | |
parent | 428023f548fce50a433bacadac1e68fdda4eda06 (diff) | |
download | lombok-ec7a2e1164eddf2eabbd47c354276a9c83473082.tar.gz lombok-ec7a2e1164eddf2eabbd47c354276a9c83473082.tar.bz2 lombok-ec7a2e1164eddf2eabbd47c354276a9c83473082.zip |
Add integration tests
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ant.yml | 25 |
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 |