-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Fix builds for all packages on Linux #1316
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
Conversation
Note that we're only building StackExchange.Redis and NRediSearch in the CI build so this wasn't apparent as an issue, but it's also easily remedied. Cleaning up the xunit MyGet feed as well since it was an intermittent issue earlier in testing this...and turns out we don't use any betas or need them anymore, so why not simplify anyhow.
|
@NickCraver thanks! it seems like it did solve the build issue. |
|
@gkorland where are you running This happens on the CI build agents as well, the versions are just already in the images (since testing against various versions is common). |
This further simplifies the build using traversal SDK and less conditions all around.
50/50 on if this works for net4x Ubuntu exclusion on tests...
Also: dynamic years!
Use the new hotness!
This will need more love, but let's see where we stand after this.
|
@mgravell when you're back in action - this is good for a look. All changes list above, but the big ones that matter mot:
This doesn't fix any of the current test stability, just moving cheese and improving how we build. |
Talked with Marc, needed for async enumerables soon.
|
@NickCraver after this PR trying to build locally using |
Note that we're only building
StackExchange.RedisandNRediSearchin the CI build so this wasn't apparent as an issue, but it's also easily remedied. Cleaning up the xUnit MyGet feed as well since it was an intermittent issue earlier in testing this...and turns out we don't use any betas or need them anymore, so why not simplify anyhow.Overall, this is a simpler alternative to #1313 and more build simplification/cleanup:
Total changes:
Visual Studio 2019AppVeyor build image, for 3.x support (removes need to install SDK)Build.csprojfor buildingbuild.ps1NRediSearchto the test suite (on Linux in CI, since Windows is against 3.x)RedisFeatures.Module(against v 4.0.0) to guard tests againstNRediSearch.TestsreferenceStackExchange.Redis.Testsand support test skippingLangVersionto latest and in one place (rootDirectory.Build.props)Microsoft.NETFramework.ReferenceAssembliesto buildnet4xon LinuxIsPackableto default to excluded then reverses totrueonly for thesrc/directoryxUnitMyGet feed, since we're on stable builds now.slnLibTargetFrameworksto simplify since it's less complex given the above changescc @mgravell for eyes - this should be all set now!