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

Fix build pipelines #1142

Merged
merged 4 commits into from
Nov 5, 2024
Merged

Fix build pipelines #1142

merged 4 commits into from
Nov 5, 2024

Conversation

Charles-Gagnon
Copy link
Contributor

@Charles-Gagnon Charles-Gagnon commented Nov 4, 2024

Mixing expressions and runtime values will cause problems - and in this case I was using an expression in the wrapper template in the ADO repo so this template wasn't working as expected.

The PR build doesn't use the wrapper template, which is why this wasn't caught in PR earlier.

Using compile time expressions is clearer and more straightforward so switching to be consistent with using that for testServer.

Changing this then broke the PR pipeline though, since it was using the matrix build options which are evaluated at runtime (so the templates had an empty value when they evaluated the expressions). I briefly tried fixing the templates to use runtime values directly since theoretically those should work, but it was taking too long so I just changed the PR pipeline to not use the matrix build functionality and instead hardcode a job for each platform. This is what we do for the other pipelines anyways so there's some advantage with having all the pipelines be aligned anyways.

Buddy build : https://msdata.visualstudio.com/SQLToolsAndLibraries/_build/results?buildId=148012457&view=results

@Charles-Gagnon Charles-Gagnon marked this pull request as draft November 4, 2024 19:51
@Charles-Gagnon Charles-Gagnon marked this pull request as ready for review November 4, 2024 23:00
@Charles-Gagnon Charles-Gagnon merged commit d253cb0 into main Nov 5, 2024
2 checks passed
@Charles-Gagnon Charles-Gagnon deleted the chgagnon/fixBuild branch November 5, 2024 01:36
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

Successfully merging this pull request may close these issues.

2 participants