-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy pathbuilder.json
49 lines (49 loc) · 1.55 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
45
46
47
48
49
{
"name": "aws-sdk-swift",
"needs_compiler": false,
"packages": [],
"variables": {
"gradlew": "{source_dir}/gradlew"
},
"pre_build_steps": [
"echo 'Deleting all services and their test suites. Only runtime SDK components will be tested.'",
"echo 'CI will be modified to build and test all services in https://github.com/awslabs/aws-sdk-swift/issues/808'",
"cd {source_dir} && rm -rf Sources/Services/* && rm -rf Tests/Services/*",
"cd {source_dir} && ./scripts/setup_for_crt_builder.sh"
],
"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",
"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"
}
]
}