Skip to content

Commit

Permalink
Fix issue #4611 - Switch to cross build for Alpine (#4621)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikem8361 committed Apr 21, 2024
1 parent 5801740 commit cfee266
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions diagnostics.yml
Expand Up @@ -106,6 +106,7 @@ extends:
osGroup: Linux
osSuffix: -musl
nativeBuildContainer: linux_musl_x64
crossBuild: true
buildOnly: true
buildConfigs:
- configuration: Release
Expand Down
19 changes: 18 additions & 1 deletion eng/pipelines/pipeline-resources.yml
Expand Up @@ -31,7 +31,9 @@ extends:
ROOTFS_DIR: /crossrootfs/arm64

linux_musl_x64:
image: mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.13-WithNode
image: mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-cross-amd64-alpine-net8.0
env:
ROOTFS_DIR: /crossrootfs/x64

linux_musl_arm:
image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-cross-arm-alpine
Expand All @@ -43,6 +45,21 @@ extends:
env:
ROOTFS_DIR: /crossrootfs/arm64

linux_s390x:
image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-cross-s390x
env:
ROOTFS_DIR: /crossrootfs/s390x

linux_ppc64le:
image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-cross-ppc64le
env:
ROOTFS_DIR: /crossrootfs/ppc64le

linux_riscv64:
image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-riscv64
env:
ROOTFS_DIR: /crossrootfs/riscv64

test_linux_x64:
image: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream-9

Expand Down

0 comments on commit cfee266

Please sign in to comment.