Skip to content

Commit ec53078

Browse files
committed
Define the testing matrix directly in ci-5.x-stable.yml
The ci-matrix-5.x.yml file has diverged between master and 5.0 branches (e.g., MSSQL 2025 support only in master). Define the testing matrix directly in ci-5.x-stable.yml using the configuration from the 5.0 branch. Ensures 5.0 scheduled builds aren't affected by master changes. Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
1 parent 57fb7f7 commit ec53078

File tree

1 file changed

+82
-2
lines changed

1 file changed

+82
-2
lines changed

.github/workflows/ci-5.x-stable.yml

Lines changed: 82 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,88 @@ on:
99
schedule:
1010
- cron: '0 6 * * *'
1111
jobs:
12-
CI-CD:
13-
uses: ./.github/workflows/ci-matrix-5.x.yml
12+
CI:
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
include:
17+
- os: ubuntu-latest
18+
jdk: 11
19+
profile: 'PostgreSQL-9'
20+
module: 'vertx-pg-client'
21+
- os: ubuntu-latest
22+
jdk: 11
23+
profile: 'PostgreSQL-10'
24+
module: 'vertx-pg-client'
25+
- os: ubuntu-latest
26+
jdk: 11
27+
profile: 'PostgreSQL-11'
28+
module: 'vertx-pg-client'
29+
- os: ubuntu-latest
30+
jdk: 11
31+
profile: 'MySQL-8.0'
32+
module: 'vertx-mysql-client'
33+
- os: ubuntu-latest
34+
jdk: 11
35+
profile: 'MySQL-5.6'
36+
module: 'vertx-mysql-client'
37+
- os: ubuntu-latest
38+
jdk: 11
39+
profile: 'MySQL-5.7'
40+
module: 'vertx-mysql-client'
41+
- os: ubuntu-latest
42+
jdk: 11
43+
profile: 'MariaDB-10.4'
44+
module: 'vertx-mysql-client'
45+
- os: ubuntu-latest
46+
jdk: 11
47+
profile: 'MSSQL-2017-latest'
48+
module: 'vertx-mssql-client'
49+
- os: ubuntu-latest
50+
jdk: 11
51+
profile: 'MSSQL-2019-latest'
52+
module: 'vertx-mssql-client'
53+
- os: ubuntu-latest
54+
jdk: 11
55+
module: 'vertx-db2-client'
56+
- os: ubuntu-latest
57+
jdk: 11
58+
module: 'vertx-sql-client-templates'
59+
- os: ubuntu-latest
60+
jdk: 25
61+
profile: 'PostgreSQL-11'
62+
module: 'vertx-pg-client'
63+
- os: ubuntu-latest
64+
jdk: 25
65+
profile: 'MySQL-5.7'
66+
module: 'vertx-mysql-client'
67+
- os: ubuntu-latest
68+
jdk: 25
69+
profile: 'MariaDB-10.4'
70+
module: 'vertx-mysql-client'
71+
- os: ubuntu-latest
72+
jdk: 25
73+
profile: 'MSSQL-2019-latest'
74+
module: 'vertx-mssql-client'
75+
- os: ubuntu-latest
76+
jdk: 25
77+
profile: 'Oracle-23'
78+
module: 'vertx-oracle-client'
79+
uses: ./.github/workflows/ci.yml
80+
with:
81+
branch: ${{ github.event_name == 'schedule' && vars.VERTX_5_STABLE_BRANCH || github.event.pull_request.head.sha || github.ref_name }}
82+
jdk: ${{ matrix.jdk }}
83+
os: ${{ matrix.os }}
84+
profile: ${{ matrix.profile }}
85+
module: ${{ matrix.module }}
86+
deploy: ${{ matrix.jdk == '8' && matrix.os == 'ubuntu-latest' }}
1487
secrets: inherit
88+
Deploy:
89+
name: Deploy to OSSRH
90+
if: ${{ github.repository_owner == 'eclipse-vertx' && (github.event_name == 'push' || github.event_name == 'schedule') }}
91+
needs: CI
92+
uses: ./.github/workflows/deploy.yml
1593
with:
1694
branch: ${{ github.event_name == 'schedule' && vars.VERTX_5_STABLE_BRANCH || github.event.pull_request.head.sha || github.ref_name }}
95+
jdk: 11
96+
secrets: inherit

0 commit comments

Comments
 (0)