Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

.Net: Fix CI pipeline for Windows runner #6304

Merged
merged 13 commits into from
May 17, 2024

Conversation

dmytrostruk
Copy link
Member

@dmytrostruk dmytrostruk commented May 17, 2024

Motivation and Context

We have windows as OS in our CI matrix, but it is not used, and we build and run solution on Ubuntu only.
This PR enables Windows in pipeline.

Note: removal of <returns></returns> in changes was required to trigger .NET pipeline for testing.

Before:
image

After:
image

Contribution Checklist

@dmytrostruk dmytrostruk self-assigned this May 17, 2024
@dmytrostruk dmytrostruk changed the title .Net: Fix CI pipeline Windows runner .Net: Fix CI pipeline for Windows runner May 17, 2024
@dmytrostruk dmytrostruk requested a review from a team as a code owner May 17, 2024 00:42
@markwallace-microsoft markwallace-microsoft added the .NET Issue or Pull requests regarding .NET code label May 17, 2024
@stephentoub
Copy link
Member

What is the problem this is fixing? Thanks.

@dmytrostruk
Copy link
Member Author

dmytrostruk commented May 17, 2024

What is the problem this is fixing? Thanks.

@stephentoub Sorry I didn't put PR description yet since I'm still working on it, and I need CI pipeline to run for testing.

Problem: Even though we have windows as OS in our CI matrix, it is not used, and we build and run solution on Ubuntu only:
image

I want to enable running it on Windows as well.

@stephentoub
Copy link
Member

Oh, wow, have we never been running on Windows, or is this a recent regression?

@dmytrostruk
Copy link
Member Author

Oh, wow, have we never been running on Windows, or is this a recent regression?

Not sure, but I'm just trying to fix it :) Should be ready soon.

@dmytrostruk
Copy link
Member Author

Should be ready soon.

Ready, it should work as expected now. I left screenshots in PR description.

@dmytrostruk dmytrostruk added this pull request to the merge queue May 17, 2024
github-merge-queue bot pushed a commit that referenced this pull request May 17, 2024
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

We have `windows` as OS in our CI matrix, but it is not used, and we
build and run solution on Ubuntu only.
This PR enables Windows in pipeline.

Note: removal of `<returns></returns>` in changes was required to
trigger .NET pipeline for testing.

Before:

![image](https://github.com/microsoft/semantic-kernel/assets/13853051/7954d3b6-fc88-4dc6-8464-8b5690d48947)

After:

![image](https://github.com/microsoft/semantic-kernel/assets/13853051/02f10392-2931-4103-b875-07dd529f7590)

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 馃槃
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 17, 2024
@dmytrostruk dmytrostruk added this pull request to the merge queue May 17, 2024
@dmytrostruk dmytrostruk removed this pull request from the merge queue due to a manual request May 17, 2024
@dmytrostruk dmytrostruk added this pull request to the merge queue May 17, 2024
Merged via the queue into microsoft:main with commit 3db321b May 17, 2024
15 checks passed
@dmytrostruk dmytrostruk deleted the ci-pipeline-fix branch May 17, 2024 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.NET Issue or Pull requests regarding .NET code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants