diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..f16d17c0b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,21 @@ +language: c +before_script: + - sudo apt update && sudo apt -y install astyle cmake gcc ninja-build libssl-dev python3-pytest python3-pytest-xdist unzip xsltproc doxygen graphviz valgrind +jobs: + include: + - arch: ppc64le # The IBM Power LXD container based build for OSS only + os: linux # required for arch different than amd64 + dist: focal # or bionic | xenial with xenial as default + compiler: gcc + if: NOT branch =~ /^ghactionsonly-/ + script: + - mkdir build && cd build && cmake -GNinja -DOQS_ENABLE_SIG_STFL_LMS=ON -DOQS_ENABLE_SIG_STFL_XMSS=ON -DOQS_HAZARDOUS_EXPERIMENTAL_ENABLE_STFL_SIG_KEY_SIG_GEN=ON .. && cmake -LA -N .. && ninja + - cd build & ninja run_tests + - arch: s390x + os: linux + dist: focal + compiler: gcc + if: NOT branch =~ /^ghactionsonly-/ + script: + - mkdir build && cd build && cmake -GNinja -DOQS_ENABLE_SIG_STFL_LMS=ON -DOQS_ENABLE_SIG_STFL_XMSS=ON -DOQS_HAZARDOUS_EXPERIMENTAL_ENABLE_STFL_SIG_KEY_SIG_GEN=ON .. && cmake -LA -N .. && ninja + - cd build & ninja run_tests diff --git a/CMakeLists.txt b/CMakeLists.txt index 5bddc9553..7b896b420 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -118,6 +118,8 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "(ppc|powerpc)") elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "s390x") set(ARCH "s390x") set(ARCH_S390X ON) + # CROSS not supported on big-endian (https://github.com/open-quantum-safe/liboqs/issues/1961) + set(OQS_ENABLE_SIG_CROSS OFF) if(${OQS_DIST_BUILD}) set(OQS_DIST_S390X_BUILD ON) endif()