Skip to content

Add Debug build configuration testing to CI pipeline - #57

Merged
Zhihua Lai (doctorlai-msrc) merged 6 commits into
microsoft:devfrom
XueSongTap:main
Apr 22, 2025
Merged

Zhihua Lai (doctorlai-msrc) merged 6 commits into
microsoft:devfrom
XueSongTap:main

Conversation

@XueSongTap

Copy link
Copy Markdown
Contributor

Description

This PR addresses issue #56 by adding Debug build configuration testing to the CI pipeline. The README mentions using -DCMAKE_BUILD_TYPE=Debug for debug builds, but this configuration wasn't being tested in the pipeline until now.

Changes

  • Added a new stage in azure-pipelines.yml for Debug build testing
  • Configured the pipeline to build with -DCMAKE_BUILD_TYPE=Debug
  • Ran the same tests on Debug builds to ensure full functionality

Testing

  • Tested locally by building with Debug configuration
  • Verified tests pass in Debug mode
  • Ensured the CI pipeline completes successfully with the new stage

Fixes #56

@doctorlai-msrc

Copy link
Copy Markdown
Collaborator

This should be done in docker in a similar way like this

@XueSongTap

Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree

@doctorlai-msrc

Copy link
Copy Markdown
Collaborator

Check here

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@doctorlai-msrc

Copy link
Copy Markdown
Collaborator

Hi Xiaochuan Ye (@XueSongTap) can you please point your PR to dev instead of main, according to the latest contribution guidelines found here. Thanks!

auto-merge was automatically disabled April 17, 2025 16:19

Base branch changed by a user without write access

@XueSongTap
Xiaochuan Ye (XueSongTap) changed the base branch from main to dev April 17, 2025 16:19
@doctorlai-msrc
Zhihua Lai (doctorlai-msrc) merged commit f80b695 into microsoft:dev Apr 22, 2025
Xenofon Foukas (xfoukas) added a commit that referenced this pull request Jun 2, 2025
* Add branch instructions in CONTRIBUTING.md and Update ADO pipeline triggers (#78)

* Add Github Action Pipeline and Fixed INITIALIZE_SUBMODULES (#64)

* Add Debug build configuration testing to CI pipeline (#57)

---------

Co-authored-by: Zhihua Lai <[email protected]>
Co-authored-by: Xenofon Foukas <[email protected]>

* Add helper function for fixed points (#71) (#85)

Co-authored-by: Zhihua Lai <[email protected]>

* Fixes for tests to pass when cmake build type is Release (#86)

This fixes issue #79. When the cmake build type is not defined it defaults to Release.
Given that the tests rely on assert() to pass, the PR also undefs NDEBUG in the release build flags to prevent the optimizer from removing the assert() calls.

* Improve Validation Error Messages in Linked Map (#82)

* Matt/dev: MAX_NUM_HOOKS to 128 (#91)

* Add helper function for fixed points (#71)

* Increase MAX_NUM_HOOKS from 64 to 128 (#90)

---------

Co-authored-by: Zhihua Lai <[email protected]>

* Refactor run_lcm_subproc by removing memory allocation with new/delete. (#93)

* Fix build/package error in ubuntu22.04 (#96)

* Add native support for ARM builds (#59)

---------

Co-authored-by: Zhihua Lai <[email protected]>
Co-authored-by: Xenofon Foukas <[email protected]>
Co-authored-by: Connor Settle <[email protected]>
Co-authored-by: Zhihua Lai <[email protected]>

* Bugfix: perf time measurement API with invalid times (#102)

* Bump ubpf to the latest version (#103)

* Matt/issue94 (#95)

* Remove ado correctness + move to cloud agents (#100)

* Sync dev with main (#105)

* Add helper function for fixed points (#71)

* Increase MAX_NUM_HOOKS from 64 to 128 (#90)


---------

Co-authored-by: Zhihua Lai <[email protected]>
Co-authored-by: matthewbalkwill <[email protected]>

---------

Co-authored-by: Zhihua Lai <[email protected]>
Co-authored-by: Xiaochuan Ye <[email protected]>
Co-authored-by: matthewbalkwill <[email protected]>
Co-authored-by: Anita Tenjarla <[email protected]>
Co-authored-by: Zhihua Lai <[email protected]>
Co-authored-by: Connor Settle <[email protected]>
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.

We need to test "DEBUG" in pipeline since it is mentioned in README

3 participants