Skip to content

Conversation

@soumeh01
Copy link
Collaborator

@soumeh01 soumeh01 commented Apr 1, 2025

Failure occurred due to the deprecation of support for CMake versions earlier than 3.10. Since the Ubuntu GitHub runner uses CMake 3.31.6, which no longer supports versions prior to 3.10 in many cases, our pinned version of GoogleTest needed an update. Additionally, other dependencies, such as JSON and JSON Schema Validators, were updated to the minimum compatible versions, with 3.5 being the lowest supported.

https://cmake.org/cmake/help/latest/release/3.31.html#deprecated-and-removed-features

The change includes:

  • Pin googletest to latest v1.16.0
  • yaml-cpp patch update cmake_minimum_required(VERSION 3.10)
  • json patch update cmake_minimum_required(VERSION 3.10)
  • json-schema-validator patch update cmake_minimum_required(VERSION 3.10)
  • Updated ubuntu-20.04 to ubuntu-22.04. GitHub Actions is deprecating the ubuntu-20.04 runner.

@soumeh01 soumeh01 force-pushed the gtest_version_update branch from 4db9fe5 to ca732e1 Compare April 1, 2025 10:54
@github-actions
Copy link

github-actions bot commented Apr 1, 2025

Test Results

  7 files   53 suites   5m 23s ⏱️
185 tests 168 ✅ 17 💤 0 ❌
692 runs  624 ✅ 68 💤 0 ❌

Results for commit 34aea92.

♻️ This comment has been updated with latest results.

@soumeh01 soumeh01 force-pushed the gtest_version_update branch from ca732e1 to 48f373d Compare April 1, 2025 11:50
@soumeh01 soumeh01 force-pushed the gtest_version_update branch 2 times, most recently from 5229bb3 to a850886 Compare April 1, 2025 13:57
@soumeh01 soumeh01 marked this pull request as ready for review April 1, 2025 14:14
@soumeh01 soumeh01 force-pushed the gtest_version_update branch from a850886 to 34aea92 Compare April 1, 2025 14:26
@soumeh01 soumeh01 requested review from brondani and jkrech April 1, 2025 14:51
Copy link
Collaborator

@brondani brondani left a comment

Choose a reason for hiding this comment

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

LGTM

@soumeh01 soumeh01 merged commit f65ec37 into main Apr 1, 2025
84 checks passed
@soumeh01 soumeh01 deleted the gtest_version_update branch April 1, 2025 15:17
@codecov
Copy link

codecov bot commented Apr 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.09%. Comparing base (028c7b2) to head (34aea92).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2031   +/-   ##
=======================================
  Coverage   66.09%   66.09%           
=======================================
  Files         173      173           
  Lines       35982    35982           
  Branches    20917    20917           
=======================================
  Hits        23781    23781           
  Misses       7863     7863           
  Partials     4338     4338           
Flag Coverage Δ
buildmgr-cov 73.95% <ø> (ø)
packchk-cov 70.70% <ø> (ø)
projmgr-cov 81.79% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

brondani pushed a commit to brondani/devtools that referenced this pull request Apr 3, 2025
Failure occurred due to the deprecation of support for CMake versions
earlier than 3.10. Since the Ubuntu GitHub runner uses CMake 3.31.6,
which no longer supports versions prior to 3.10 in many cases, our
pinned version of GoogleTest needed an update. Additionally, other
dependencies, such as JSON and JSON Schema Validators, were updated to
the minimum compatible versions, with 3.5 being the lowest supported.


https://cmake.org/cmake/help/latest/release/3.31.html#deprecated-and-removed-features

The change includes:
- Pin googletest to latest v1.16.0
- yaml-cpp patch update `cmake_minimum_required(VERSION 3.10)`
- json patch update `cmake_minimum_required(VERSION 3.10)`
- json-schema-validator patch update `cmake_minimum_required(VERSION
3.10)`
- Updated ubuntu-20.04 to ubuntu-22.04. **GitHub Actions is deprecating
the ubuntu-20.04 runner**.
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