-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathconfig.toml
196 lines (184 loc) · 6.81 KB
/
config.toml
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
sdk_min="1.39.1"
sdk_ignored= [
"1.38.7", # malformed due an incompatibility with EMSDK release
"1.38.17", # ignored due an SDK error
"1.38.33", # broken dependency between emscripten<>emscripten-releases
]
[registries]
[registries.docker]
registry="docker.io"
[registries.github]
registry="docker.pkg.github.com"
namespace="trzecieu"
# ------------------------------------------------------------------------------
[[images]]
enabled=false
name="trzeci/emscripten-slim"
source="docker/trzeci/emscripten-slim"
version_matcher='^(\d+\.\d+\.\d+)$' # defines a strict pattern to look for the latest tag
build_tag="{namespace}/{project}:sdk-tag-{version}-64bit" # other images rely on that name
short="Size optimized image with Emscripten that allows to compile ASM.js and WebAsembly code."
long_from_file="docs/emscripten-slim.md"
dependency=[]
tags= [
"{registry}/{namespace}/emscripten:{version}-slim",
"{registry}/{namespace}/{project}:sdk-tag-{version}-64bit",
"{registry}/{namespace}/{project}:{version}",
]
tests= [
"emcc test.cpp -o test.js -s WASM=0 && node test.js",
"emcc test.cpp -o test.js -s WASM=1 && node test.js",
"node --version",
"python --version",
"embuilder.py build zlib",
"/emsdk_portable/emsdk list",
]
[images.args]
EMSCRIPTEN_VERSION= "{version}"
EMSDK_CHANGESET= "{emsdk_cs}"
# ------------------------------------------------------------------------------
[[images]]
enabled=false
name="trzeci/emscripten"
source="docker/trzeci/emscripten"
version_matcher='^(\d+\.\d+\.\d+)-upstream$' # defines a strict pattern to look for the latest tag
build_tag="{namespace}/{project}:sdk-tag-{version}-64bit"
short="A complete container that allows to compile Emscripten and WebAssembly projects"
long_from_file="docs/emscripten.md"
dependency=["trzeci/emscripten-slim"]
tags= [
"{registry}/{namespace}/{project}:sdk-tag-{version}-64bit",
"{registry}/{namespace}/{project}:{version}",
]
tests= [
"emcc test.cpp -o test.js -s WASM=0 && node test.js",
"emcc test.cpp -o test.js -s WASM=0 --closure 0 && node test.js",
"emcc test.cpp -o test.js -s WASM=1 && node test.js",
"embuilder.py build zlib",
"node --version",
"python --version",
"wget --version",
"curl --version",
"zip --version",
"unzip -version",
"make --version",
"cmake --version",
"git --version",
"which ssh",
"perl --version",
"java -version",
"/emsdk_portable/emsdk list",
]
[images.args]
EMSCRIPTEN_VERSION= "{version}"
EMSDK_CHANGESET= "{emsdk_cs}"
# ------------------------------------------------------------------------------
[[images]]
enabled=false
name="trzeci/emscripten-ubuntu"
source="docker/trzeci/emscripten-ubuntu"
version_matcher='^(\d+\.\d+\.\d+)$' # defines a strict pattern to look for the latest tag
build_tag="{namespace}/{project}:{version}"
short="A complete container that allows to compile Emscripten and WebAssembly project. Ubuntu based"
long_from_file="docs/emscripten-ubuntu.md"
dependency=["trzeci/emscripten"]
tags= [
"{registry}/{namespace}/emscripten:{version}-ubuntu",
"{registry}/{namespace}/{project}:sdk-tag-{version}-64bit",
"{registry}/{namespace}/{project}:{version}",
]
tests= [
"emcc test.cpp -o test.js -s WASM=0 && node test.js",
"emcc test.cpp -o test.js -s WASM=0 --closure 0 && node test.js",
"emcc test.cpp -o test.js -s WASM=1 && node test.js",
"embuilder.py build zlib",
"node --version",
"python --version",
"wget --version",
"curl --version",
"zip --version",
"unzip -version",
"make --version",
"cmake --version",
"git --version",
"which ssh",
"perl --version",
"/emsdk_portable/emsdk list",
]
[images.args]
EMSCRIPTEN_VERSION= "{version}"
EMSDK_CHANGESET= "{emsdk_cs}"
# ------------------------------------------------------------------------------
[[images]]
enabled=true
name="trzeci/emscripten-upstream"
source="docker/trzeci/emscripten-upstream"
version_matcher='^(\d+\.\d+\.\d+)$' # defines a strict pattern to look for the latest tag
build_tag="{namespace}/{project}:{version}"
short="A complete container that allows to compile Emscripten and WebAssembly project"
long_from_file="docs/emscripten-upstream.md"
dependency=[]
tags= [
"{registry}/{namespace}/emscripten:{version}-upstream",
"{registry}/{namespace}/{project}:sdk-tag-{version}-64bit",
"{registry}/{namespace}/{project}:{version}",
]
tests= [
"emcc test.cpp -o test.js -s WASM=0 && node test.js",
"emcc test.cpp -o test.js -s WASM=0 --closure 0 && node test.js",
"emcc test.cpp -o test.js -s WASM=1 && node test.js",
"embuilder.py build zlib",
"node --version",
"python --version",
"wget --version",
"curl --version",
"zip --version",
"unzip -version",
"make --version",
"cmake --version",
"git --version",
"which ssh",
"perl --version",
"java -version",
"/emsdk_portable/emsdk list",
]
[images.args]
EMSCRIPTEN_VERSION= "{version}"
EMSDK_CHANGESET= "{emsdk_cs}"
# ------------------------------------------------------------------------------
[[images]]
enabled=true
name="trzeci/emscripten-fastcomp"
source="docker/trzeci/emscripten-fastcomp"
version_matcher='^(\d+\.\d+\.\d+)$' # defines a strict pattern to look for the latest tag
build_tag="{namespace}/{project}:{version}"
short="A complete container that allows to compile Emscripten and WebAssembly project"
long_from_file="docs/emscripten-fastcomp.md"
dependency=[]
tags= [
"{registry}/{namespace}/emscripten:{version}-fastcomp",
"{registry}/{namespace}/{project}:sdk-tag-{version}-64bit",
"{registry}/{namespace}/{project}:{version}",
]
tests= [
"emcc test.cpp -o test.js -s WASM=0 && node test.js",
"emcc test.cpp -o test.js -s WASM=0 --closure 0 && node test.js",
"emcc test.cpp -o test.js -s WASM=1 && node test.js",
"embuilder.py build zlib",
"node --version",
"python --version",
"wget --version",
"curl --version",
"zip --version",
"unzip -version",
"make --version",
"cmake --version",
"git --version",
"which ssh",
"perl --version",
"java -version",
"/emsdk_portable/emsdk list",
]
[images.args]
EMSCRIPTEN_VERSION= "{version}"
EMSDK_CHANGESET= "{emsdk_cs}"