-
Notifications
You must be signed in to change notification settings - Fork 2
/
builder.json
104 lines (103 loc) · 3.32 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "aws-crt-dotnet",
"build_steps": [
"dotnet build -f netstandard2.0 -p:AwsCrtPlatformTarget={aws_crt_platform_target} --configuration Debug",
"dotnet pack -p:TargetFrameworks=netstandard2.0 -p:AwsCrtPlatformTarget={aws_crt_platform_target} --configuration Debug"
],
"test_steps": [
"dotnet build tests/tests.csproj {build_tests_args} --configuration Debug",
"dotnet test tests --no-build {run_tests_args} --configuration Debug"
],
"imports": [
"dotnetcore"
],
"hosts": {
"al2": {
"packages": [
"libicu",
"zlib",
"libcurl"
]
}
},
"targets": {
"linux": {
"imports": [
"s2n"
],
"architectures": {
"x64": {
"build_env": {
"AWS_DOTNET_RUNTIME": "linux-x64"
},
"variables": {
"build_tests_args" : "",
"run_tests_args" : "",
"aws_crt_platform_target" : "x64"
}
},
"arm64": {
"build_env": {
"AWS_DOTNET_RUNTIME": "linux-arm64"
},
"variables": {
"run_tests_args" : "--runtime linux-arm64 -p:PlatformTarget=Arm -p:Platform=Arm",
"build_tests_args": "-p:AwsCrtPlatformTarget=Arm64 -p:Platform=Arm64 -p:PlatformTarget=Arm64 --runtime linux-arm64 && mv tests/bin/Arm64 tests/bin/Arm",
"aws_crt_platform_target" : "arm64"
}
}
}
},
"windows": {
"architectures": {
"x86": {
"variables": {
"build_tests_args" : "",
"run_tests_args" : "",
"aws_crt_platform_target" : "x86"
},
"!test_steps": []
},
"x64": {
"variables": {
"build_tests_args" : "",
"run_tests_args" : "",
"aws_crt_platform_target" : "x64"
}
}
}
},
"macos" :{
"architectures": {
"x64": {
"variables": {
"build_tests_args" : "",
"run_tests_args" : "",
"aws_crt_platform_target" : "x64"
}
},
"arm64": {
"variables": {
"build_tests_args" : "",
"run_tests_args" : "",
"aws_crt_platform_target" : "Arm64"
}
}
}
}
},
"variants": {
"mono_test" : {
"hosts": {
"ubuntu": {
"+packages": [
"mono-complete"
]
}
},
"!test_steps": [
"dotnet build tests/tests.csproj -t:MonoTest {build_tests_args} --configuration Debug"
]
}
}
}