forked from aws/aws-sdk-go-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (37 loc) · 938 Bytes
/
codegen.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
name: Codegen Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
codegen-test:
name: SDK Codegen Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
java-version: ['11', '8']
go-version: [1.16]
env:
JAVA_TOOL_OPTIONS: "-Xmx2g"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ matrix.java-version }}
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v2
with:
repository: aws/smithy-go
path: tmp-smithy-go
- name: Build and publish smithy-go
working-directory: tmp-smithy-go
run: make smithy-publish-local
- name: Cleanup smithy-go
run: rm -rf tmp-smithy-go
- name: SDK Codegen
run: make smithy-generate