Fix issue #4611 - Switch to cross build for Alpine (#4621)
authorMike McLaughlin <mikem@microsoft.com>
Sun, 21 Apr 2024 17:02:06 +0000 (10:02 -0700)
committerGitHub <noreply@github.com>
Sun, 21 Apr 2024 17:02:06 +0000 (10:02 -0700)
diagnostics.yml
eng/pipelines/pipeline-resources.yml

index 93fd3a1feb242d96b12257244851f80d7dcf3ab8..01b552ba7cbcf958d184ffb09e237da473d46432 100644 (file)
@@ -106,6 +106,7 @@ extends:
           osGroup: Linux
           osSuffix: -musl
           nativeBuildContainer: linux_musl_x64
+          crossBuild: true
           buildOnly: true
           buildConfigs:
           - configuration: Release
index 5e7249d599a26b23d80a327f5b881cdf69cb1a05..34a27998957956c58819394fa36fe6230be0c8f0 100644 (file)
@@ -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
@@ -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