Commit b5611ef
authored
Use VS Code packaging for releases (#7721)
* Allow setting the VS Code build target
For the NPM package (and tests, at least for now), we will still use
linux-x64, but this is going to allow using the platform build targets
for our standalone releases so we can avoid having to copy all the
packaging steps (like cleaning up modules).
This does mean that the NPM package when installed will be missing those
cleanup steps. Possibly we can try to break out the packaging step into
a something that can be ran standalone (which will also require
installing dev dependencies like gulp) but not sure how much work this
would be.
* Preserve dependencies for e2e tests
To avoid having to install them again.
Also moved an env block to the root of the job.
* Refactor releases to use VS Code packaging
Instead of building the linux-x64 package, stripping the modules, then
installing them again, we build the correct target and use the modules
as they are.
This means we do not have to copy all the post-processing steps like the
ones that delete unnecessary modules.
For the NPM package we still publish the linux-x64 package (without
modules of course). This means npm installations do not get that same
post-processing.
Another advantage of this is that we can run the release immediately
without having to wait for the build step, or on a commit that no longer
has a build artifact, since they all build individually now. We could
try sharing the core-ci build step, but leaving that alone for now.
I also converted the macOS jobs into a matrix.
Deleted the CI readme because it was out of date and seemed to just
repeat what should be described in the scripts anyway.
Removed a section about Homebrew since we do not maintain that anymore.
It looks like there is no need to symlink node_modules.asar anymore.1 parent a5c1b6a commit b5611ef
File tree
20 files changed
+322
-795
lines changed- .github/workflows
- ci
- build
- dev
- steps
- docs
20 files changed
+322
-795
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | 18 | | |
25 | 19 | | |
26 | 20 | | |
| |||
31 | 25 | | |
32 | 26 | | |
33 | 27 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 28 | + | |
| 29 | + | |
38 | 30 | | |
39 | 31 | | |
40 | 32 | | |
| |||
157 | 149 | | |
158 | 150 | | |
159 | 151 | | |
160 | | - | |
| 152 | + | |
161 | 153 | | |
162 | 154 | | |
163 | 155 | | |
164 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
165 | 161 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | 162 | | |
170 | 163 | | |
171 | 164 | | |
172 | 165 | | |
173 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
174 | 171 | | |
175 | 172 | | |
176 | 173 | | |
| |||
181 | 178 | | |
182 | 179 | | |
183 | 180 | | |
184 | | - | |
185 | | - | |
186 | 181 | | |
187 | 182 | | |
188 | 183 | | |
189 | 184 | | |
190 | 185 | | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
196 | 190 | | |
197 | 191 | | |
198 | 192 | | |
199 | | - | |
200 | | - | |
| 193 | + | |
| 194 | + | |
201 | 195 | | |
202 | | - | |
203 | | - | |
204 | 196 | | |
205 | 197 | | |
206 | 198 | | |
207 | 199 | | |
208 | 200 | | |
209 | 201 | | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
| 202 | + | |
| 203 | + | |
215 | 204 | | |
216 | 205 | | |
217 | 206 | | |
218 | | - | |
| 207 | + | |
219 | 208 | | |
220 | 209 | | |
221 | 210 | | |
222 | 211 | | |
223 | 212 | | |
224 | 213 | | |
225 | | - | |
| 214 | + | |
| 215 | + | |
226 | 216 | | |
227 | 217 | | |
228 | | - | |
229 | 218 | | |
230 | 219 | | |
231 | 220 | | |
| |||
234 | 223 | | |
235 | 224 | | |
236 | 225 | | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | 226 | | |
243 | 227 | | |
244 | 228 | | |
245 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
246 | 236 | | |
247 | 237 | | |
248 | 238 | | |
249 | 239 | | |
250 | 240 | | |
251 | 241 | | |
252 | | - | |
253 | 242 | | |
254 | 243 | | |
255 | 244 | | |
256 | 245 | | |
| 246 | + | |
| 247 | + | |
257 | 248 | | |
258 | | - | |
| 249 | + | |
| 250 | + | |
259 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
260 | 266 | | |
261 | | - | |
262 | 267 | | |
263 | 268 | | |
264 | 269 | | |
| |||
267 | 272 | | |
268 | 273 | | |
269 | 274 | | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
280 | | - | |
281 | | - | |
| 279 | + | |
| 280 | + | |
282 | 281 | | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
294 | 285 | | |
295 | 286 | | |
296 | 287 | | |
297 | 288 | | |
298 | | - | |
299 | 289 | | |
300 | 290 | | |
301 | 291 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
27 | | - | |
28 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
29 | 35 | | |
30 | | - | |
31 | | - | |
| 36 | + | |
| 37 | + | |
32 | 38 | | |
33 | 39 | | |
34 | 40 | | |
35 | | - | |
36 | | - | |
| 41 | + | |
37 | 42 | | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
56 | 52 | | |
57 | 53 | | |
58 | 54 | | |
59 | 55 | | |
60 | 56 | | |
61 | 57 | | |
| 58 | + | |
62 | 59 | | |
63 | 60 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
70 | 64 | | |
71 | 65 | | |
72 | 66 | | |
| |||
86 | 80 | | |
87 | 81 | | |
88 | 82 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | 83 | | |
97 | 84 | | |
98 | | - | |
99 | | - | |
100 | 85 | | |
101 | 86 | | |
102 | 87 | | |
103 | 88 | | |
104 | 89 | | |
105 | 90 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | 91 | | |
111 | 92 | | |
112 | 93 | | |
| |||
116 | 97 | | |
117 | 98 | | |
118 | 99 | | |
119 | | - | |
120 | | - | |
121 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
122 | 103 | | |
123 | | - | |
124 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
125 | 108 | | |
126 | | - | |
127 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
128 | 112 | | |
129 | | - | |
130 | | - | |
| 113 | + | |
131 | 114 | | |
132 | 115 | | |
133 | 116 | | |
134 | | - | |
135 | | - | |
136 | | - | |
| 117 | + | |
137 | 118 | | |
138 | 119 | | |
139 | 120 | | |
140 | 121 | | |
141 | 122 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
| 123 | + | |
151 | 124 | | |
152 | 125 | | |
153 | 126 | | |
154 | 127 | | |
155 | 128 | | |
156 | | - | |
157 | | - | |
158 | | - | |
| 129 | + | |
159 | 130 | | |
160 | 131 | | |
161 | 132 | | |
162 | 133 | | |
163 | 134 | | |
164 | 135 | | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
| 136 | + | |
0 commit comments