Skip to content

azure-pipelines: Add debug in CI artifacts - #1405

Merged
dNechita merged 1 commit into
mainfrom
add-new-build-CI
Mar 23, 2026
Merged

dNechita merged 1 commit into
mainfrom
add-new-build-CI

Conversation

@RubenNatanael

@RubenNatanael RubenNatanael commented Mar 12, 2026 •

Copy link
Copy Markdown
Collaborator

PR Description

Following the fix for Debug mode compilation, I updated the artifact collection to include both the Debug and the default RelWithDebInfo builds.

PR Type

  • Bug fix (a change that fixes an issue)
  • New feature (a change that adds new functionality)
  • Breaking change (a change that affects other repos or cause CIs to fail)

PR Checklist

  • I have conducted a self-review of my own code changes
  • I have commented new code, particularly complex or unclear areas
  • I have checked that I did not introduce new warnings or errors (CI output)
  • I have checked that components that use libiio did not get broken
  • I have updated the documentation accordingly (GitHub Pages, READMEs, etc)

@RubenNatanael

Copy link
Copy Markdown
Collaborator Author

Validation completed for debug utilities included in the artifact package.

@rgetz

rgetz commented Mar 13, 2026

Copy link
Copy Markdown
Contributor

your commit message is lacking.

You should be able to read the commit message, not have to look at the diff. The commit message should explain:

  • What problem existed
  • Why the change fixes it
  • Any side effects or design decisions

A useful pattern:

  • Problem
  • Reason
  • Solution
  • Impact

Future developers often search just commit history - and having to go through every diff is just causing pain for future people.

Something like:

CI: improve MSVC pipeline to support multiple build configurations

Rework the Windows MSVC CI scripts to support building and packaging
multiple CMake configurations.

Instead of assuming a single CMAKE_BUILD_TYPE (defaulting to Release),
the pipeline now determines which configurations to build based on the
isRelease variable. Release builds generate only the Release
configuration, while non-release builds produce both the configured
build type and Debug.

Artifacts, executables, and dependency DLLs are now staged in
configuration-specific directories, and the Inno Setup installer
template has been updated to reference the appropriate BUILD_TYPE
subdirectory.

This ensures Debug and non-default configurations are correctly built,
packaged, and published by the CI pipeline.

Rework the Windows MSVC CI scripts to support building and packaging
multiple CMake configurations.

Instead of assuming a single CMAKE_BUILD_TYPE (defaulting to Release),
the pipeline now determines which configurations to build based on the
isRelease variable. Release builds generate only the Release
configuration, while non-release builds produce both the configured
build type and Debug.

Artifacts, executables, and dependency DLLs are now staged in
configuration-specific directories, and the Inno Setup installer
template has been updated to reference the appropriate BUILD_TYPE
subdirectory.

This ensures Debug and non-default configurations are correctly built,
packaged, and published by the CI pipeline.
Signed-off-by: Ruben Mujdei <ruben.mujdei@analog.com>
@RubenNatanael

Copy link
Copy Markdown
Collaborator Author

your commit message is lacking.

You should be able to read the commit message, not have to look at the diff. The commit message should explain:

  • What problem existed
  • Why the change fixes it
  • Any side effects or design decisions

A useful pattern:

  • Problem
  • Reason
  • Solution
  • Impact

Future developers often search just commit history - and having to go through every diff is just causing pain for future people.

Something like:

CI: improve MSVC pipeline to support multiple build configurations

Rework the Windows MSVC CI scripts to support building and packaging
multiple CMake configurations.

Instead of assuming a single CMAKE_BUILD_TYPE (defaulting to Release),
the pipeline now determines which configurations to build based on the
isRelease variable. Release builds generate only the Release
configuration, while non-release builds produce both the configured
build type and Debug.

Artifacts, executables, and dependency DLLs are now staged in
configuration-specific directories, and the Inno Setup installer
template has been updated to reference the appropriate BUILD_TYPE
subdirectory.

This ensures Debug and non-default configurations are correctly built,
packaged, and published by the CI pipeline.

Thanks, Robin, for the feedback! I will take your advice into consideration for future PRs. Your description is also very well-structured and clear, so with your permission, I will add it to the commit. Thanks again!

@dNechita
dNechita merged commit 60ea22a into main Mar 23, 2026
43 checks passed
@dNechita
dNechita deleted the add-new-build-CI branch March 23, 2026 20:57
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.

3 participants