You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add option for only packing runtime-specific packages (#11116)
* Add option for only packing runtime-specific packages
* Remove Microsoft.AspNetCore.Blazor.Templates.dll from the Blazor VSIX
* Cleanup implementation of ANCMSymbols packaging
# TODO add a flag so macOS/Linux builds only produce runtime packages
189
-
- script: if [ -d 'artifacts/packages' ]; then find artifacts/packages/ -type f -not -name 'runtime.*' -not -name 'Microsoft.AspNetCore.App.Runtime.*' -delete; fi
190
-
condition: always()
191
185
artifacts:
192
186
- name: MacOS_x64_Packages
193
187
path: artifacts/packages/
@@ -214,7 +208,8 @@ jobs:
214
208
--arch x64
215
209
--no-build-nodejs
216
210
--no-build-java
217
-
/bl:artifacts/log/build.linux-x64.binlog
211
+
-p:OnlyPackPlatformSpecificPackages=true
212
+
-bl:artifacts/log/build.linux-x64.binlog
218
213
$(_BuildArgs)
219
214
displayName: Run cibuild.sh
220
215
- script: |
@@ -226,10 +221,11 @@ jobs:
226
221
-e KOREBUILD_SKIP_INSTALL_NETFX=0 \
227
222
--no-restore \
228
223
--no-build-deps \
229
-
/t:BuildSharedFx \
230
-
/p:BuildRuntimeArchive=false \
231
-
/p:LinuxInstallerType=deb \
232
-
/bl:artifacts/log/build.deb.binlog \
224
+
-t:BuildSharedFx \
225
+
-p:OnlyPackPlatformSpecificPackages=true \
226
+
-p:BuildRuntimeArchive=false \
227
+
-p:LinuxInstallerType=deb \
228
+
-bl:artifacts/log/build.deb.binlog \
233
229
$(_BuildArgs)
234
230
displayName: Build Debian installers
235
231
- script: |
@@ -241,17 +237,13 @@ jobs:
241
237
-e KOREBUILD_SKIP_INSTALL_NETFX=0 \
242
238
--no-restore \
243
239
--no-build-deps \
244
-
/t:BuildSharedFx \
245
-
/p:BuildRuntimeArchive=false \
246
-
/p:LinuxInstallerType=rpm \
247
-
/bl:artifacts/log/build.rpm.binlog \
240
+
-t:BuildSharedFx \
241
+
-p:OnlyPackPlatformSpecificPackages=true \
242
+
-p:BuildRuntimeArchive=false \
243
+
-p:LinuxInstallerType=rpm \
244
+
-bl:artifacts/log/build.rpm.binlog \
248
245
$(_BuildArgs)
249
246
displayName: Build RPM installers
250
-
afterBuild:
251
-
# Remove packages that are not rid-specific.
252
-
# TODO add a flag so macOS/Linux builds only produce runtime packages
253
-
- script: if [ -d 'artifacts/packages' ]; then find artifacts/packages/ -type f -not -name 'runtime.*' -not -name 'Microsoft.AspNetCore.App.Runtime.*' -delete; fi
254
-
condition: always()
255
247
artifacts:
256
248
- name: Linux_x64_Packages
257
249
path: artifacts/packages/
@@ -276,14 +268,10 @@ jobs:
276
268
buildArgs: --arch arm
277
269
--no-build-nodejs
278
270
--no-build-java
279
-
/bl:artifacts/log/build.linux-arm.binlog
271
+
-p:OnlyPackPlatformSpecificPackages=true
272
+
-bl:artifacts/log/build.linux-arm.binlog
280
273
$(_BuildArgs)
281
274
installNodeJs: false
282
-
afterBuild:
283
-
# Remove packages that are not rid-specific.
284
-
# TODO add a flag so macOS/Linux builds only produce runtime packages
285
-
- script: if [ -d 'artifacts/packages' ]; then find artifacts/packages/ -type f -not -name 'runtime.*' -not -name 'Microsoft.AspNetCore.App.Runtime.*' -delete; fi
286
-
condition: always()
287
275
artifacts:
288
276
- name: Linux_arm_Packages
289
277
path: artifacts/packages/
@@ -308,14 +296,10 @@ jobs:
308
296
buildArgs: --arch arm64
309
297
--no-build-nodejs
310
298
--no-build-java
311
-
/bl:artifacts/log/build.arm64.binlog
299
+
-p:OnlyPackPlatformSpecificPackages=true
300
+
-bl:artifacts/log/build.arm64.binlog
312
301
$(_BuildArgs)
313
302
installNodeJs: false
314
-
afterBuild:
315
-
# Remove packages that are not rid-specific.
316
-
# TODO add a flag so macOS/Linux builds only produce runtime packages
317
-
- script: if [ -d 'artifacts/packages' ]; then find artifacts/packages/ -type f -not -name 'runtime.*' -not -name 'Microsoft.AspNetCore.App.Runtime.*' -delete; fi
318
-
condition: always()
319
303
artifacts:
320
304
- name: Linux_arm64_Packages
321
305
path: artifacts/packages/
@@ -345,14 +329,10 @@ jobs:
345
329
--os-name linux-musl
346
330
--no-build-nodejs
347
331
--no-build-java
348
-
/bl:artifacts/log/build.musl.binlog
332
+
-p:OnlyPackPlatformSpecificPackages=true
333
+
-bl:artifacts/log/build.musl.binlog
349
334
$(_BuildArgs)
350
335
installNodeJs: false
351
-
afterBuild:
352
-
# Remove packages that are not rid-specific.
353
-
# TODO add a flag so macOS/Linux builds only produce runtime packages
354
-
- script: if [ -d 'artifacts/packages' ]; then find artifacts/packages/ -type f -not -name 'runtime.*' -not -name 'Microsoft.AspNetCore.App.Runtime.*' -delete; fi
355
-
condition: always()
356
336
artifacts:
357
337
- name: Linux_musl_x64_Packages
358
338
path: artifacts/packages/
@@ -382,14 +362,10 @@ jobs:
382
362
--os-name linux-musl
383
363
--no-build-nodejs
384
364
--no-build-java
385
-
/bl:artifacts/log/build.musl.binlog
365
+
-p:OnlyPackPlatformSpecificPackages=true
366
+
-bl:artifacts/log/build.musl.binlog
386
367
$(_BuildArgs)
387
368
installNodeJs: false
388
-
afterBuild:
389
-
# Remove packages that are not rid-specific.
390
-
# TODO add a flag so macOS/Linux builds only produce runtime packages
391
-
- script: if [ -d 'artifacts/packages' ]; then find artifacts/packages/ -type f -not -name 'runtime.*' -not -name 'Microsoft.AspNetCore.App.Runtime.*' -delete; fi
0 commit comments