forked from awslabs/aws-crt-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuilder.json
94 lines (94 loc) · 2.22 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
{
"name": "aws-crt-nodejs",
"+imports": [
"node-12"
],
"deps_dir": "deps",
"hosts": {
"manylinux": {
"enabled": false
},
"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"
],
"+test_steps": [
[
"npm",
"run",
"test:browser:ci"
]
]
}
},
"targets": {
"android": {
"enabled": false
}
},
"upstream": [],
"downstream": [],
"pre_build_steps": [
[
"git",
"submodule",
"update",
"--init",
"--recursive"
],
"pkcs11-test-setup"
],
"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"
]
}