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

Add C++ access to project version #590

Merged
merged 1 commit into from
Nov 30, 2023
Merged

Add C++ access to project version #590

merged 1 commit into from
Nov 30, 2023

Conversation

SSoelvsten
Copy link
Owner

@SSoelvsten SSoelvsten commented Nov 30, 2023

Provides project version number from within C++ (try out make playground to see it works). This closes #140 .

  • Inject version number from CMake into compile-time known values in <adiar/version.h>
  • Ensure the version number actually is from Adiar when used in a submodule.

@SSoelvsten SSoelvsten added the 📁 build CMake, GitHub Actions etc. label Nov 30, 2023
@SSoelvsten SSoelvsten added this to the v2.0 : API Revamp milestone Nov 30, 2023
@SSoelvsten SSoelvsten self-assigned this Nov 30, 2023
Copy link

codecov bot commented Nov 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d822135) 96.974% compared to head (6a7401f) 96.974%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #590   +/-   ##
=========================================
  Coverage   96.974%   96.974%           
=========================================
  Files           84        84           
  Lines         5883      5883           
=========================================
  Hits          5705      5705           
  Misses         178       178           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

🟢 Regression Test (QBF 'breakthrough/3x5_11_bwnib')

'origin/version_number' is a change in performance of 0.54% (stdev: 1.08%).

... origin/main origin/version_number
Mean 13110.80 13040.40
Standard Deviation 142.16 132.12

Number of samples: 5

Copy link

🟢 Regression Test (QBF 'ep/8x8_7_e-8-1_p-3-4_bwnib')

'origin/version_number' is a change in performance of 1.63% (stdev: 3.83%).

... origin/main origin/version_number
Mean 17070.60 16792.60
Standard Deviation 653.33 68.42

Number of samples: 5

Copy link

🟡 Regression Test (Picotrav 'adder')

'origin/version_number' is a change in performance of -5.51% (stdev: 11.19%).

... origin/main origin/version_number
Mean 9220.10 9727.90
Standard Deviation 46.53 1088.25

Number of samples: 10

Copy link

🟢 Regression Test (QBF 'breakthrough/3x5_11_bwnib')

'origin/version_number' is a change in performance of 0.76% (stdev: 2.15%).

... origin/main origin/version_number
Mean 13130.20 13029.80
Standard Deviation 282.48 78.47

Number of samples: 5

Copy link

🟢 Regression Test (QBF 'ep/8x8_7_e-8-1_p-3-4_bwnib')

'origin/version_number' is a change in performance of 2.12% (stdev: 3.06%).

... origin/main origin/version_number
Mean 16949.00 16590.40
Standard Deviation 518.49 113.28

Number of samples: 5

Copy link

🟢 Regression Test (QBF 'breakthrough/3x4_19_bwnib')

'origin/version_number' is a change in performance of 0.75% (stdev: 1.20%).

... origin/main origin/version_number
Mean 47208.00 46855.80
Standard Deviation 567.12 96.90

Number of samples: 5

Copy link

🟢 Regression Test (QBF 'domineering/5x5_13_bwnib')

'origin/version_number' is a change in performance of 2.04% (stdev: 4.49%).

... origin/main origin/version_number
Mean 43076.60 42199.00
Standard Deviation 1934.55 36.88

Number of samples: 5

Copy link

🟡 Regression Test (Picotrav 'arbiter')

'origin/version_number' is a change in performance of -0.10% (stdev: 0.83%).

... origin/main origin/version_number
Mean 63226.50 63287.70
Standard Deviation 526.93 247.88

Number of samples: 10

Copy link

🟡 Regression Test (Picotrav 'mem_ctrl')

'origin/version_number' is a change in performance of -0.09% (stdev: 0.59%).

... origin/main origin/version_number
Mean 111511.71 111615.71
Standard Deviation 654.67 287.27

Number of samples: 7

@SSoelvsten SSoelvsten merged commit f21ab78 into main Nov 30, 2023
51 of 54 checks passed
@SSoelvsten SSoelvsten deleted the version_number branch December 3, 2023 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📁 build CMake, GitHub Actions etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make version number obtainable within C++
1 participant