Skip to content
Merged
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
9 changes: 8 additions & 1 deletion template-test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ dotnet11Templates=(
apicontroller
blazor
blazorwasm
blazorwasm-servicedefaults
blazorwebworker
buildprops
buildtargets
Expand Down Expand Up @@ -491,7 +492,13 @@ function testTemplate {
echo "SKIP skipping webapiaot on ppc64/s390x/armv7"
return
fi


if [[ ( $(uname -m) == "s390x" || $(uname -m) == "ppc64le" || $(uname -m) == "armv7" || $(uname -m) == "armv8l" ) && ( "${templateName}" == "mcpserver" ) ]]; then
# mcpserver relies on Microsoft.NETCore.App.Runtime, which will not even restore on mono (ppc64le/s390x) and arm, skip it
echo "SKIP skipping mcpserver on ppc64/s390x/armv7"
return
fi

if [[ ${action} = project,* ]] ; then
dotnet new console 2>&1 | tee "${templateName}.log"
action=$(echo "${action}" | sed -E "s|project,||")
Expand Down
Loading