Skip to content

Commit 5be2bf7

Browse files
authored
Also build with netty 4.2 (netty#758)
Motivation: As preparation for netty 4.2 we should ensure everything build / works with it Modifications: Add job that builds with netty 4.2 Result: Verify we are ready for 4.2
1 parent 91c3920 commit 5be2bf7

File tree

5 files changed

+16
-0
lines changed

5 files changed

+16
-0
lines changed

.github/workflows/ci-pr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ jobs:
4949
- setup: linux-x86_64-java17-graalvm
5050
docker-compose-build: "-f docker/docker-compose.centos-7.yaml -f docker/docker-compose.centos-7.graalvm117.yaml build"
5151
docker-compose-run: "-f docker/docker-compose.centos-7.yaml -f docker/docker-compose.centos-7.graalvm117.yaml run build-leak"
52+
- setup: linux-x86_64-java8-netty-4.2
53+
docker-compose-build: "-f docker/docker-compose.centos-7.yaml -f docker/docker-compose.centos-7.18.yaml build"
54+
docker-compose-run: "-f docker/docker-compose.centos-7.yaml -f docker/docker-compose.centos-7.18.yaml run build-4.2"
5255

5356
runs-on: ubuntu-latest
5457
name: ${{ matrix.setup }} build

docker/docker-compose.centos-7.117.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ services:
2020
build-clean:
2121
image: netty-codec-quic-centos6:centos-6-1.17
2222

23+
build-4.2:
24+
image: netty-codec-quic-centos6:centos-6-1.8
25+
2326
deploy:
2427
image: netty-codec-quic-centos6:centos-6-1.17
2528

docker/docker-compose.centos-7.18.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ services:
2020
build-clean:
2121
image: netty-codec-quic-centos6:centos-6-1.8
2222

23+
build-4.2:
24+
image: netty-codec-quic-centos6:centos-6-1.8
25+
2326
deploy:
2427
image: netty-codec-quic-centos6:centos-6-1.8
2528

docker/docker-compose.centos-7.21.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ services:
2020
build-clean:
2121
image: netty-codec-quic-centos7:centos-7-21
2222

23+
build-4.2:
24+
image: netty-codec-quic-centos6:centos-6-1.8
25+
2326
deploy:
2427
image: netty-codec-quic-centos7:centos-7-21
2528

docker/docker-compose.centos-7.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ services:
3939
<<: *common
4040
command: /bin/bash -cl "./mvnw -B -ntp clean package"
4141

42+
build-4.2:
43+
<<: *common
44+
command: /bin/bash -cl "./mvnw -B -ntp clean package -Dnetty.version=4.2.0.Beta1"
45+
4246
deploy:
4347
<<: *common
4448
command: /bin/bash -cl "./mvnw -B -ntp clean deploy -DskipTests=true"

0 commit comments

Comments
 (0)