-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathbuilder.json
141 lines (140 loc) · 3.78 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "aws-crt-nodejs",
"+imports": [
"node-14",
"JDK8"
],
"+packages": [
"maven"
],
"deps_dir": "deps",
"hosts": {
"manylinux": {
"enabled": false
},
"alpine": {
"_comment:": "Override imports to install Node.js and OpenJDK8 from the Alpine package manager instead of Builder. Installing Node.js via npm on Alpine has unexpected issues. Openjdk11 has a gson stack overflow error in one of the event stream test",
"!imports":[
],
"+packages": [
"openjdk8",
"nodejs",
"npm"
]
},
"al2": {
"_comment": "these dependencies are for headless chrome as part of puppeteer, see https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#chrome-headless-doesnt-launch-on-unix",
"packages": [
"libXScrnSaver-devel",
"libXcomposite",
"libXcursor",
"gtk3",
"alsa-lib",
"atk",
"cups-libs",
"libdrm",
"mesa-libgbm",
"libXdamage",
"libXext",
"libXi",
"libXrandr",
"libXtst",
"pango",
"xorg-x11-fonts-100dpi",
"xorg-x11-fonts-75dpi",
"xorg-x11-fonts-cyrillic",
"xorg-x11-fonts-misc",
"xorg-x11-fonts-Type1",
"xorg-x11-utils"
],
"+test_steps": [
[
"sudo",
"yum",
"install",
"nss",
"-y"
],
[
"npm",
"run",
"test:browser:ci"
]
]
},
"al2012": {
"!packages": [],
"!imports": [ "node-14" ]
},
"macos": {
"architectures": {
"arm64": {
"_comment": "Mac OS (arm64) has only experimental support for Node v15 and earlier, so stick to Node v16, see Node v15 docs: https://github.com/nodejs/node/blob/v15.x/BUILDING.md#platform-list",
"!imports": [ "node-16" ]
}
}
}
},
"targets": {
"android": {
"enabled": false
}
},
"upstream": [],
"downstream": [],
"pre_build_steps": [
[
"git",
"submodule",
"update",
"--init",
"--recursive"
]
],
"build_steps": [
[
"npm",
"install",
"--unsafe-perm"
],
[
"node",
"scripts/build.js",
"-DAWS_WARNINGS_ARE_ERRORS=ON"
],
[
"npm",
"run-script",
"tsc"
]
],
"test_env": {
"AWS_CRT_MEMORY_TRACING": "2"
},
"test_steps": [
"crt-ci-test",
[
"npm",
"--prefix",
"{project_dir}/samples/node/elasticurl/",
"install",
"{project_dir}/samples/node/elasticurl/",
"--unsafe-perm"
],
[
"npx",
"tsc",
"--project",
"{project_dir}/samples/node/elasticurl",
"--outDir",
"{project_dir}/samples/node/elasticurl/dist/"
],
[
"{python}",
"{project_dir}/crt/aws-c-http/integration-testing/http_client_test.py",
"node",
"{project_dir}/samples/node/elasticurl/dist/elasticurl.js"
],
"crt-size-check"
]
}