-
Notifications
You must be signed in to change notification settings - Fork 239
64 lines (50 loc) · 1.62 KB
/
aws-lambda-java-runtime-interface-client.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
# This workflow will be triggered if there will be changes to
# aws-lambda-java-runtime-interface-client package and it builds the package.
name: Java CI aws-lambda-java-runtime-interface-client
on:
push:
branches: [ master ]
paths:
- 'aws-lambda-java-runtime-interface-client/**'
pull_request:
branches: [ '*' ]
paths:
- 'aws-lambda-java-runtime-interface-client/**'
jobs:
smoke-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
java-version: 8
distribution: corretto
- name: Runtime Interface Client smoke tests - Run 'pr' target
working-directory: ./aws-lambda-java-runtime-interface-client
run: make pr
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
java-version: 8
distribution: corretto
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
install: true
- name: Available buildx platforms
run: echo ${{ steps.buildx.outputs.platforms }}
- name: Test Runtime Interface Client xplatform build - Run 'build' target
working-directory: ./aws-lambda-java-runtime-interface-client
run: make build
- name: Save the built jar
uses: actions/upload-artifact@v3
with:
name: the-jar
path: ./aws-lambda-java-runtime-interface-client/target/aws-lambda-java-runtime-interface-client-*.jar