Skip to content

Commit b77e98a

Browse files
committed
Update of GitHub workflow file for supporting 5.x CI/CD
1 parent 4adc282 commit b77e98a

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: CI/CD (5.x-stable)
2+
on:
3+
push:
4+
branches:
5+
- '5.[0-9]+'
6+
pull_request:
7+
branches:
8+
- '5.[0-9]+'
9+
schedule:
10+
- cron: '0 6 * * *'
11+
jobs:
12+
CI-CD:
13+
uses: ./.github/workflows/ci-matrix-5.x.yml
14+
secrets: inherit
15+
with:
16+
branch: ${{ github.event_name == 'schedule' && vars.VERTX_5_STABLE_BRANCH || github.event.pull_request.head.sha || github.ref_name }}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: CI matrix (5.x)
2+
on:
3+
workflow_call:
4+
inputs:
5+
branch:
6+
required: true
7+
type: string
8+
jobs:
9+
CI:
10+
strategy:
11+
matrix:
12+
include:
13+
- os: ubuntu-latest
14+
jdk: 11
15+
- os: ubuntu-latest
16+
jdk: 11
17+
profile: '-PNativeEpoll'
18+
# - os: ubuntu-latest
19+
# jdk: 11
20+
# profile: '-PNativeIoUring'
21+
- os: ubuntu-latest
22+
jdk: 11
23+
profile: '-PNativeEpoll+DomainSockets'
24+
- os: ubuntu-latest
25+
jdk: 21
26+
- os: windows-latest
27+
jdk: 11
28+
stable: true
29+
# - os: macos-latest
30+
# jdk: 11
31+
# profile: '-PNativeKQueue'
32+
uses: ./.github/workflows/ci.yml
33+
with:
34+
branch: ${{ github.event.pull_request.head.sha || github.ref_name }}
35+
jdk: ${{ matrix.jdk }}
36+
os: ${{ matrix.os }}
37+
profile: ${{ matrix.profile }}
38+
secrets: inherit
39+
Deploy:
40+
if: ${{ github.repository_owner == 'eclipse-vertx' && (github.event_name == 'push' || github.event_name == 'schedule') }}
41+
needs: CI
42+
uses: ./.github/workflows/deploy.yml
43+
with:
44+
branch: ${{ github.event.pull_request.head.sha || github.ref_name }}
45+
jdk: 11
46+
secrets: inherit

0 commit comments

Comments
 (0)