Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 22 additions & 2 deletions eng/pipelines/common/platform-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ jobs:
buildConfig: ${{ parameters.buildConfig }}
${{ insert }}: ${{ parameters.jobParameters }}

# FreeBSD
# FreeBSD x64
- ${{ if containsValue(parameters.platforms, 'freebsd_x64') }}:
- template: xplat-setup.yml
parameters:
Expand All @@ -577,7 +577,27 @@ jobs:
crossBuild: true
${{ insert }}: ${{ parameters.jobParameters }}

# OpenBSD
# FreeBSD arm64
- ${{ if containsValue(parameters.platforms, 'freebsd_arm64') }}:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
variables: ${{ parameters.variables }}
osGroup: freebsd
archType: arm64
targetRid: freebsd-arm64
platform: freebsd_arm64
shouldContinueOnError: ${{ parameters.shouldContinueOnError }}
container: freebsd_arm64
jobParameters:
runtimeFlavor: ${{ parameters.runtimeFlavor }}
buildConfig: ${{ parameters.buildConfig }}
helixQueueGroup: ${{ parameters.helixQueueGroup }}
crossBuild: true
${{ insert }}: ${{ parameters.jobParameters }}

# OpenBSD x64
- ${{ if containsValue(parameters.platforms, 'openbsd_x64') }}:
- template: xplat-setup.yml
parameters:
Expand Down
5 changes: 5 additions & 0 deletions eng/pipelines/common/templates/pipeline-with-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ extends:
env:
ROOTFS_DIR: /crossrootfs/x64

freebsd_arm64:
image: mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net11.0-cross-freebsd-14-arm64@sha256:01ac33cd4bbed190503254d8d013da90fc29494273e562e38b897dd10c5d5739
env:
ROOTFS_DIR: /crossrootfs/arm64

openbsd_x64:
image: mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net11.0-cross-openbsd-amd64@sha256:301907b4bd7ea374ab32fb4be5200e6daefaefaf034aded50a0a0f8ac2465638
env:
Expand Down
45 changes: 43 additions & 2 deletions eng/pipelines/runtime-community.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ trigger:
branches:
include:
- release/*.*
exclude:
- release/6.0*
paths:
include:
- '*'
Expand All @@ -18,6 +16,15 @@ trigger:
- PATENTS.TXT
- THIRD-PARTY-NOTICES.TXT

pr:
branches:
include:
- main
- release/*.*
paths:
include:
- eng/pipelines/runtime-community.yml

schedules:
- cron: "0 7,19 * * *" # run at 7:00 and 19:00 (UTC) which is 23:00 and 11:00 (PST).
displayName: Runtime-community default schedule
Expand Down Expand Up @@ -100,3 +107,37 @@ extends:
eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true),
eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'], true),
eq(variables['isRollingBuild'], true))

#
# Build CoreCLR + Libs + Host using bootstrap
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/common/global-build-job.yml
helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml
buildConfig: ${{ variables.debugOnPrReleaseOnRolling }}
runtimeFlavor: coreclr
platforms:
- freebsd_x64
- freebsd_arm64
- linux_riscv64
- linux_loongarch64
- openbsd_x64
variables:
# map dependencies variables to local variables
- name: coreclrContainsChange
value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'] ]
- name: installerContainsChange
value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_installer.containsChange'] ]
jobParameters:
testScope: innerloop
nameSuffix: CoreCLR_Bootstrapped
buildArgs: -s clr+libs+host+packs+tools.cdac -c $(_BuildConfig) -rc Checked --bootstrap
timeoutInMinutes: 120
preBuildSteps:
- template: /eng/pipelines/coreclr/templates/setup-sccache.yml
postBuildSteps:
- template: /eng/pipelines/coreclr/templates/sccache-stats.yml
- template: /eng/pipelines/common/templates/runtimes/build-runtime-tests.yml
parameters:
testBuildArgs: skipmanaged generatelayoutonly --use-bootstrap
29 changes: 0 additions & 29 deletions eng/pipelines/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -678,35 +678,6 @@ extends:
eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true),
eq(variables['isRollingBuild'], true))

#
# Build CoreCLR + Libs + Host
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/common/global-build-job.yml
helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml
buildConfig: ${{ variables.debugOnPrReleaseOnRolling }}
runtimeFlavor: coreclr
platforms:
- freebsd_x64
- linux_riscv64
- linux_loongarch64
- openbsd_x64
jobParameters:
testScope: innerloop
nameSuffix: CoreCLR_Bootstrapped
buildArgs: -s clr+libs+host+packs+tools.cdac -c $(_BuildConfig) -rc Checked --bootstrap
timeoutInMinutes: 120
preBuildSteps:
- template: /eng/pipelines/coreclr/templates/setup-sccache.yml
postBuildSteps:
- template: /eng/pipelines/coreclr/templates/sccache-stats.yml
condition: >-
or(
eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true),
eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true),
eq(variables['isRollingBuild'], true))

#
# CoreCLR NativeAOT debug build and smoke tests
# Only when CoreCLR is changed
Expand Down