Skip to content

Commit

Permalink
special-case gxhash64 verification for github actions
Browse files Browse the repository at this point in the history
linux x64 only
  • Loading branch information
rurban committed Dec 15, 2024
1 parent fae6e9b commit 91e0854
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
fetch-depth: 1
submodules: recursive
- run: cmake ${{ matrix.CMAKE_ARGS }} .
- run: cmake ${{ matrix.CMAKE_ARGS }} -DGITHUB_ACTIONS=ON .
- run: make -j4 VERBOSE=1
- run: make -j4 test ARGS=-V
aarch64:
Expand Down
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DNDEBUG")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DNDEBUG")

option(GITHUB_ACTIONS "If compiled via github actions" OFF)
if (GITHUB_ACTIONS)
add_definitions(-DGITHUB_ACTIONS)
endif()

include(CheckTypeSize)
check_type_size(__int64 __INT64)
check_type_size(int64_t INT64_T)
Expand Down

0 comments on commit 91e0854

Please sign in to comment.