-
Notifications
You must be signed in to change notification settings - Fork 200
80 lines (80 loc) · 2.18 KB
/
ci-5.x.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
name: vertx-sql-client (5.x)
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: '0 5 * * *'
jobs:
CI:
strategy:
matrix:
include:
- os: ubuntu-latest
jdk: 11
profile: 'PostgreSQL-9'
- os: ubuntu-latest
jdk: 11
profile: 'PostgreSQL-10'
- os: ubuntu-latest
jdk: 11
profile: 'PostgreSQL-11'
- os: ubuntu-latest
jdk: 11
profile: 'MySQL-8.0'
- os: ubuntu-latest
jdk: 11
profile: 'MySQL-5.6'
- os: ubuntu-latest
jdk: 11
profile: 'MySQL-5.7'
- os: ubuntu-latest
jdk: 11
profile: 'MariaDB-10.4'
- os: ubuntu-latest
jdk: 11
profile: 'MSSQL-2017-latest'
- os: ubuntu-latest
jdk: 11
profile: 'MSSQL-2019-latest'
- os: ubuntu-latest
jdk: 11
profile: 'DB2-11.5'
- os: ubuntu-latest
jdk: 11
profile: 'SQL-templates'
- os: ubuntu-latest
jdk: 17
profile: 'PostgreSQL-11'
- os: ubuntu-latest
jdk: 17
profile: 'MySQL-5.7'
- os: ubuntu-latest
jdk: 17
profile: 'MariaDB-10.4'
- os: ubuntu-latest
jdk: 17
profile: 'MSSQL-2019-latest'
- os: ubuntu-latest
jdk: 17
profile: 'Oracle-23'
uses: ./.github/workflows/ci.yml
with:
branch: ${{ github.event.pull_request.head.sha || github.ref_name }}
jdk: ${{ matrix.jdk }}
os: ${{ matrix.os }}
profile: ${{ matrix.profile }}
deploy: ${{ matrix.jdk == '8' && matrix.os == 'ubuntu-latest' }}
secrets: inherit
Deploy:
name: Deploy to OSSRH
if: ${{ github.repository_owner == 'eclipse-vertx' && (github.event_name == 'push' || github.event_name == 'schedule') }}
needs: CI
uses: ./.github/workflows/deploy.yml
with:
branch: ${{ github.event.pull_request.head.sha || github.ref_name }}
jdk: 11
secrets: inherit