Skip to content

Conversation

@pjcollins
Copy link
Member

@pjcollins pjcollins commented Dec 22, 2021

Fixes: #5701

Adds a Linux test stage to exercise the Microsoft.Android.Sdk.Linux
.nupkg produced by the Linux build. This stage contains one job that
runs the SmokeTests category of our MSBuild tests.

A couple of updates have been made to Xamarin.ProjectTools to support
test environments that do not have a system-wide installation of classic
Xamarin.Android. This effort was focused on getting the SmokeTests
category to run, however more test harness changes will be needed in
in this area in the future.

@pjcollins pjcollins force-pushed the more-linux-tests branch 3 times, most recently from d792d07 to af31b30 Compare December 22, 2021 22:09
@pjcollins pjcollins force-pushed the more-linux-tests branch 7 times, most recently from 3540f7e to b712565 Compare January 5, 2022 15:02
@pjcollins pjcollins marked this pull request as ready for review January 5, 2022 16:09
@pjcollins pjcollins requested review from grendello and jpobst January 5, 2022 16:09
Copy link
Member

@jonathanpeppers jonathanpeppers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this PR also start pushing the Linux pack to the dotnet6 feed?

If the Smoke Tests are green, it seems good enough to "ship" it?

TestEnvironment.MonoAndroidToolsDirectory :
Path.Combine (XABuildPaths.PrefixDirectory, "lib", "xamarin.android", "xbuild", "Xamarin", "Android");
string multidex_jar = Path.Combine (multidex_path, "android-support-multidex.jar");
string multidex_jar = Path.Combine (bbuilder.AndroidMSBuildDirectory, "android-support-multidex.jar");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine to me, this test just needs a valid android-support-multidex.jar from somewhere. It doesn't need to be a particular version of it.

@pjcollins
Copy link
Member Author

I've got pjcollins@628c9f8 in the works to follow up with signing/feed pushing after this lands

…mon/TestEnvironment.cs

Co-authored-by: Jonathan Peppers <[email protected]>
@pjcollins pjcollins merged commit 05b7dbb into dotnet:main Jan 6, 2022
@pjcollins pjcollins deleted the more-linux-tests branch January 6, 2022 00:00
@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Investigate and fix MSBuild smoke test issues on Linux

3 participants