mirror of
https://github.com/tobiaslocker/base64.git
synced 2024-11-27 07:59:52 +08:00
attempting to fix big endian CI
This commit is contained in:
parent
96dafc5a6f
commit
f575bbc921
7
.github/workflows/bigendiancmake.yml
vendored
7
.github/workflows/bigendiancmake.yml
vendored
@ -28,6 +28,7 @@ jobs:
|
||||
apt-get -y install git
|
||||
run: |
|
||||
lscpu | grep Endian
|
||||
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||
make -j
|
||||
ctest --output-on-failure
|
||||
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} .
|
||||
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||
cd ${{github.workspace}}/build
|
||||
ctest -C ${{env.BUILD_TYPE}} --output-on-failure
|
@ -49,10 +49,14 @@ add_test(NAME roundtrip_test COMMAND roundtrip_test)
|
||||
|
||||
# Add some more tests
|
||||
include(FetchContent)
|
||||
if(${CMAKE_CXX_BYTE_ORDER} MATCHES BIG_ENDIAN)
|
||||
set(FETCHCONTENT_QUIET FALSE)
|
||||
endif()
|
||||
FetchContent_Declare(
|
||||
googletest
|
||||
GIT_REPOSITORY https://github.com/google/googletest.git
|
||||
GIT_TAG 750d67d809700ae8fca6d610f7b41b71aa161808
|
||||
GIT_PROGRESS TRUE
|
||||
SYSTEM
|
||||
)
|
||||
# For Windows: Prevent overriding the parent project's compiler/linker settings
|
||||
|
Loading…
Reference in New Issue
Block a user