-
Notifications
You must be signed in to change notification settings - Fork 2
109 lines (105 loc) · 2.68 KB
/
ci.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
name: CI-Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
concurrency:
group: ci_${{ github.ref }}
cancel-in-progress: true
jobs:
ci-micronaut:
runs-on: ubuntu-latest
needs:
- basics
- caching
- http-server
- graphql
- rabbitmq
steps:
- run: echo "CI-Build completed"
basics:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Build
run: ./gradlew :examples:basics:build
- name: Upload Test Results
uses: actions/upload-artifact@v3
if: always()
with:
name: test-results_basics
path: "**/build/reports/tests"
caching:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Build
run: ./gradlew :examples:caching:build
- name: Upload Test Results
uses: actions/upload-artifact@v3
if: always()
with:
name: test-results_caching
path: "**/build/reports/tests"
http-server:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Build
run: ./gradlew :examples:http-server:build
- name: Upload Test Results
uses: actions/upload-artifact@v3
if: always()
with:
name: test-results_http-server
path: "**/build/reports/tests"
graphql:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Build
run: ./gradlew :examples:graphql:build
- name: Upload Test Results
uses: actions/upload-artifact@v3
if: always()
with:
name: test-results_graphql
path: "**/build/reports/tests"
rabbitmq:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Build
run: ./gradlew :examples:rabbitmq:build
- name: Upload Test Results
uses: actions/upload-artifact@v3
if: always()
with:
name: test-results_rabbitmq
path: "**/build/reports/tests"