-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
59 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Detect POBR diff | ||
|
||
on: [ pull_request ] | ||
|
||
concurrency: | ||
group: detect-pobr-diff-${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
detect-pobr-diff: | ||
uses: dice-group/cpp-conan-release-reusable-workflow/.github/workflows/abi-diff.yml@main | ||
with: | ||
os: ubuntu-22.04 | ||
compiler: clang-16 | ||
cmake-version: 3.24.0 | ||
conan-version: 2.3.1 | ||
base-branch: ${{ github.base_ref }} | ||
search-path: > | ||
include/dice/hash/internal | ||
abi-version-header: include/dice/hash/version.hpp | ||
abi-version-const: dice::hash::pobr_version | ||
secrets: | ||
CONAN_USER: "" | ||
CONAN_PW: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -163,3 +163,4 @@ modules.xml | |
|
||
test_package/build | ||
conan_provider.cmake | ||
include/dice/hash/version.hpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#ifndef DICE_HASH_VERSION_HPP | ||
#define DICE_HASH_VERSION_HPP | ||
|
||
#include <array> | ||
|
||
namespace dice::hash { | ||
inline constexpr char name[] = "@PROJECT_NAME@"; | ||
inline constexpr char version[] = "@PROJECT_VERSION@"; | ||
inline constexpr std::array<int, 3> version_tuple = {@PROJECT_VERSION_MAJOR@, @PROJECT_VERSION_MINOR@, @PROJECT_VERSION_PATCH@}; | ||
inline constexpr int pobr_version = @POBR_VERSION@; ///< persisted object binary representation version | ||
} // namespace dice::hash | ||
|
||
#endif // DICE_HASH_VERSION_HPP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#ifndef DICE_HASH_HASH_HPP | ||
#define DICE_HASH_HASH_HPP | ||
#include "dice/hash/DiceHash.hpp" | ||
#include <dice/hash/DiceHash.hpp> | ||
#include <dice/hash/version.hpp> | ||
#endif//DICE_HASH_HASH_HPP |