-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[xtro] Fix xtro on dotnet. #14559
[xtro] Fix xtro on dotnet. #14559
Conversation
❌ [CI Build] Tests failed on VSTS: simulator tests iOS ❌Tests failed on VSTS: simulator tests iOS. Test results5 tests failed, 102 tests passed.Failed tests
Pipeline on Agent XAMBOT-1042.Monterey |
@@ -393,6 +393,9 @@ steps: | |||
|
|||
echo "Rollback file contents:" | |||
echo "$(cat $WORKLOAD_DST)" | |||
|
|||
echo "##vso[task.setvariable variable=WorkloadVersion;]$IOS_NUGET_VERSION_FULL" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The versions are different between all platforms, you need to set a variable for each of them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was hoping for the opposite. Probably I should do $(PLATFORM)_WORLOAD_VERSION. And change the loop or env def in the makefile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part 2:
echo "##vso[task.setvariable variable=WorkloadVersion;]$IOS_NUGET_VERSION_FULL" | |
echo "##vso[task.setvariable variable=iOSWorkloadVersion;]$IOS_NUGET_VERSION_FULL" |
needs to be expanded for all platforms.
tests/xtro-sharpie/Makefile
Outdated
@@ -126,7 +126,11 @@ $(XMACCATALYST_PCH): .stamp-check-sharpie | |||
$(CORETELEPHONY_HEADERS) \ | |||
|
|||
define DotNetAssembly | |||
ifdef TESTS_USE_SYSTEM | |||
X$(2)_DOTNET ?= $(DOTNET_DIR)/packs/Microsoft.$(1).Runtime.$(X$(2)_RID)/$(WORKLOAD_VERSION)/runtimes/$(X$(2)_RID)/lib/$(DOTNET_TFM)/$(DOTNET_$(2)_ASSEMBLY_NAME).dll |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part 1:
X$(2)_DOTNET ?= $(DOTNET_DIR)/packs/Microsoft.$(1).Runtime.$(X$(2)_RID)/$(WORKLOAD_VERSION)/runtimes/$(X$(2)_RID)/lib/$(DOTNET_TFM)/$(DOTNET_$(2)_ASSEMBLY_NAME).dll | |
X$(2)_DOTNET ?= $(DOTNET_DIR)/packs/Microsoft.$(1).Runtime.$(X$(2)_RID)/$($(2)_WORKLOAD_VERSION)/runtimes/$(X$(2)_RID)/lib/$(DOTNET_TFM)/$(DOTNET_$(2)_ASSEMBLY_NAME).dll |
@@ -74,6 +74,8 @@ stages: | |||
# we need to have the pkgs built and the device sets to be ran, that is decided via the labels or type of build during the build_packages stage | |||
condition: and(succeeded(), ${{ parameters.condition }}) | |||
|
|||
variables: | |||
WORKLOAD_VERSION: $[ stageDependencies.build_packages.build.outputs['workload_file.WorkloadVersion'] ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part 3:
WORKLOAD_VERSION: $[ stageDependencies.build_packages.build.outputs['workload_file.WorkloadVersion'] ] | |
IOS_WORKLOAD_VERSION: $[ stageDependencies.build_packages.build.outputs['workload_file.iOSWorkloadVersion'] ] |
needs to be expanded for all platforms.
@@ -393,6 +393,9 @@ steps: | |||
|
|||
echo "Rollback file contents:" | |||
echo "$(cat $WORKLOAD_DST)" | |||
|
|||
echo "##vso[task.setvariable variable=WorkloadVersion;]$IOS_NUGET_VERSION_FULL" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part 2:
echo "##vso[task.setvariable variable=WorkloadVersion;]$IOS_NUGET_VERSION_FULL" | |
echo "##vso[task.setvariable variable=iOSWorkloadVersion;]$IOS_NUGET_VERSION_FULL" |
needs to be expanded for all platforms.
No description provided.