Skip to content

Commit c44e0ec

Browse files
committed
Add Alpine CI for source-build
1 parent d8539f2 commit c44e0ec

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/SourceBuild/Arcade/eng/common/templates/job/source-build-run-tarball-build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ parameters:
1212

1313
# The following parameters aren't expected to be passed in rather they are used for encapsulation
1414
# -----------------------------------------------------------------------------------------------
15+
alpine315Container: mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.15-20220809205726-94fc78a
1516
centOSStream8Container: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8-20220809204800-17a4aab
1617
centOSStream9Container: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream9-20220107135047-4cd394c
1718
debian11Arm64Container: mcr.microsoft.com/dotnet-buildtools/prereqs:debian-11-arm64v8-20220812185233-b286fae
@@ -42,6 +43,12 @@ jobs:
4243
_EnablePoison: false
4344
_ExcludeOmniSharpTests: true
4445
_RunOnline: true
46+
Alpine315-Offline:
47+
_BootstrapPrep: true
48+
_Container: ${{ parameters.alpine315Container }}
49+
_EnablePoison: false
50+
_ExcludeOmniSharpTests: true
51+
_RunOnline: false
4552
${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
4653
CentOSStream8-Offline:
4754
_BootstrapPrep: false

src/SourceBuild/tarball/content/eng/bootstrap/buildBootstrapPreviouslySB.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,22 @@
1313

1414
<ItemGroup>
1515
<!-- These packages will be replaced with ms-built packages downloaded from official package feeds-->
16+
<PackageDownload Include="Microsoft.AspNetCore.App.Runtime.linux-musl-x64" Version="[$(MicrosoftAspNetCoreAppRuntimeLinuxX64Version)]" />
1617
<PackageDownload Include="Microsoft.NET.HostModel" Version="[$(MicrosoftNETHostModelVersion)]" />
1718
<PackageDownload Include="Microsoft.NET.Sdk.IL" Version="[$(MicrosoftNETSdkILVersion)]" />
1819
<PackageDownload Include="Microsoft.NETCore.ILAsm" Version="[$(MicrosoftNETCoreILAsmVersion)]" />
1920
<PackageDownload Include="Microsoft.NETCore.ILDAsm" Version="[$(MicrosoftNETCoreILDAsmVersion)]" />
2021
<PackageDownload Include="Microsoft.NETCore.TestHost" Version="[$(MicrosoftNETCoreTestHostVersion)]" />
22+
<PackageDownload Include="Microsoft.NETCore.App.Host.linux-musl-x64" Version="[$(MicrosoftNETCoreAppHostLinuxX64Version)]" />
23+
<PackageDownload Include="Microsoft.NETCore.App.Runtime.linux-musl-x64" Version="[$(MicrosoftNETCoreAppRuntimeLinuxX64Version)]" />
24+
<PackageDownload Include="Microsoft.NETCore.App.Crossgen2.linux-musl-x64" Version="[$(MicrosoftNETCoreAppCrossgen2LinuxX64Version)]" />
2125
<PackageDownload Include="runtime.linux-x64.Microsoft.NETCore.ILAsm" Version="[$(RuntimeLinuxX64MicrosoftNETCoreILAsmVersion)]" />
2226
<PackageDownload Include="runtime.linux-x64.Microsoft.NETCore.ILDAsm" Version="[$(RuntimeLinuxX64MicrosoftNETCoreILDAsmVersion)]" />
2327
<PackageDownload Include="runtime.linux-x64.Microsoft.NETCore.TestHost" Version="[$(RuntimeLinuxX64MicrosoftNETCoreTestHostVersion)]" />
2428
<PackageDownload Include="runtime.linux-x64.runtime.native.System.IO.Ports" Version="[$(RuntimeLinuxX64RuntimeNativeSystemIOPortsVersion)]" />
2529
<PackageDownload Include="runtime.linux-musl-x64.Microsoft.NETCore.ILAsm" Version="[$(RuntimeLinuxX64MicrosoftNETCoreILAsmVersion)]" />
2630
<PackageDownload Include="runtime.linux-musl-x64.Microsoft.NETCore.ILDAsm" Version="[$(RuntimeLinuxX64MicrosoftNETCoreILDAsmVersion)]" />
31+
<PackageDownload Include="runtime.linux-musl-x64.Microsoft.NETCore.ObjWriter" Version="[$(RuntimeLinuxX64MicrosoftNETCoreObjWriterVersion)]" />
2732
<PackageDownload Include="runtime.linux-musl-x64.Microsoft.NETCore.TestHost" Version="[$(RuntimeLinuxX64MicrosoftNETCoreTestHostVersion)]" />
2833
<!-- There's no nuget package for runtime.linux-musl-x64.runtime.native.System.IO.Ports
2934
<PackageReference Include="runtime.linux-musl-x64.runtime.native.System.IO.Ports" Version="$(RuntimeLinuxX64RuntimeNativeSystemIOPortsVersion)" />

0 commit comments

Comments
 (0)