-
Notifications
You must be signed in to change notification settings - Fork 10
63 lines (53 loc) · 1.5 KB
/
java-server-sdk.yml
File metadata and controls
63 lines (53 loc) · 1.5 KB
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
name: java-server-sdk
on:
push:
branches: [main, 'feat/**']
paths-ignore:
- '**.md' #Do not need to run CI for markdown changes.
pull_request:
branches: [main, 'feat/**']
paths-ignore:
- '**.md'
jobs:
test-platforms-and-versions:
strategy:
matrix:
os: [ubuntu-latest]
javaversion: [8, 11, 17, 19]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Shared CI Steps
uses: ./.github/actions/ci
with:
workspace_path: 'lib/sdk/server'
java_version: ${{ matrix.javaversion }}
test-contract-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Shared CI Steps
uses: ./.github/actions/ci
with:
workspace_path: 'lib/sdk/server'
java_version: 8
- name: Contract Tests
uses: ./.github/actions/contract-tests
with:
workspace_path: 'lib/sdk/server'
token: ${{ secrets.GITHUB_TOKEN }}
test-packaging:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Shared CI Steps
uses: ./.github/actions/ci
with:
workspace_path: 'lib/sdk/server'
java_version: 8
- name: Publish Maven Local
shell: bash
run: lib/sdk/server/gradlew publishToMavenLocal -p lib/sdk/server -P skipSigning=true
- name: Run Packaging Test
shell: bash
run: make all -C lib/sdk/server/packaging-test