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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI refactoring #5253

Open
Youssef1313 opened this issue Mar 17, 2025 · 1 comment
Open

CI refactoring #5253

Youssef1313 opened this issue Mar 17, 2025 · 1 comment

Comments

@Youssef1313
Copy link
Member

Currently, our CI is a simple single stage.

For Windows, we make an official build and pack, and use the produced packages for integration tests.

For non-Windows, we make an unofficial build and pack, and use those packages for integration tests.

We should only build and pack once, on Windows, and use the same artifacts for all jobs, because at the end of the day, these are the packages that we ship.

Detailed proposal

  • Introduce a "Build and pack" stage. This stage will run on Windows only. It will only build production projects, and won't build any test projects.
  • The packages produced during that stage are published to artifacts
  • Introduce 6 test stages (the combination of OSes (Windows,Mac,Linux) and Configuration (Debug/Release)).
    • Each stage will download the packages.
    • Build the test projects (may potentially build parts of products (again), esp for unit tests)
    • Run the tests
@nohwnd
Copy link
Member

nohwnd commented Mar 17, 2025

👍 agree, this is how we build vstest (afaik)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants