forked from awslabs/aws-sdk-swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
builder.json
44 lines (44 loc) · 1.2 KB
/
builder.json
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
{
"name": "aws-sdk-swift",
"needs_compiler": false,
"packages": [],
"variables": {
"gradlew": "{source_dir}/gradlew"
},
"build_steps": [
"{gradlew} -p {source_dir}/codegen/smithy-aws-swift-codegen build",
"{gradlew} -p {source_dir}/codegen/protocol-test-codegen build",
"{gradlew} -p {source_dir}/codegen/protocol-test-codegen-local build",
"mkdir -p {source_dir}/release",
"cd {source_dir} && swift build --build-tests"
],
"test_steps": [
"cd {source_dir} && swift test --skip-build",
"cd {source_dir} && ./scripts/mergeModels.sh {source_dir}/codegen/protocol-test-codegen/build/smithyprojections/protocol-test-codegen/aws-restjson/swift-codegen/AWSRestJsonTestSDK/models",
"cd {source_dir}/codegen && swift test"
],
"build_dir": "target/build",
"hosts": {
"al2": {
"packages": [
"java-11-amazon-corretto-headless"
],
"env": {
"JAVA_HOME": "/usr/lib/jvm/java-11-amazon-corretto.x86_64"
}
},
"debian": {
"packages": [
"openjdk-11-jdk-headless"
],
"env": {
"JAVA_HOME": "/usr/lib/jvm/openjdk-11-jdk"
}
}
},
"upstream": [
{
"name": "smithy-swift"
}
]
}