You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.travis.yml 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. language: c
  2. sudo: false
  3. addons:
  4. apt:
  5. packages: libgmp-dev
  6. compiler:
  7. - clang
  8. - gcc
  9. cache:
  10. directories:
  11. - src/java/guava/
  12. env:
  13. global:
  14. - FIELD=auto BIGNUM=auto SCALAR=auto ENDOMORPHISM=no STATICPRECOMPUTATION=yes ASM=no BUILD=check EXTRAFLAGS= HOST= ECDH=no RECOVERY=no EXPERIMENTAL=no JNI=no
  15. - GUAVA_URL=https://search.maven.org/remotecontent?filepath=com/google/guava/guava/18.0/guava-18.0.jar GUAVA_JAR=src/java/guava/guava-18.0.jar
  16. matrix:
  17. - SCALAR=32bit RECOVERY=yes
  18. - SCALAR=32bit FIELD=32bit ECDH=yes EXPERIMENTAL=yes
  19. - SCALAR=64bit
  20. - FIELD=64bit RECOVERY=yes
  21. - FIELD=64bit ENDOMORPHISM=yes
  22. - FIELD=64bit ENDOMORPHISM=yes ECDH=yes EXPERIMENTAL=yes
  23. - FIELD=64bit ASM=x86_64
  24. - FIELD=64bit ENDOMORPHISM=yes ASM=x86_64
  25. - FIELD=32bit ENDOMORPHISM=yes
  26. - BIGNUM=no
  27. - BIGNUM=no ENDOMORPHISM=yes RECOVERY=yes EXPERIMENTAL=yes
  28. - BIGNUM=no STATICPRECOMPUTATION=no
  29. - BUILD=distcheck
  30. - EXTRAFLAGS=CPPFLAGS=-DDETERMINISTIC
  31. - EXTRAFLAGS=CFLAGS=-O0
  32. - BUILD=check-java JNI=yes ECDH=yes EXPERIMENTAL=yes
  33. matrix:
  34. fast_finish: true
  35. include:
  36. - compiler: clang
  37. env: HOST=i686-linux-gnu ENDOMORPHISM=yes
  38. addons:
  39. apt:
  40. packages:
  41. - gcc-multilib
  42. - libgmp-dev:i386
  43. - compiler: clang
  44. env: HOST=i686-linux-gnu
  45. addons:
  46. apt:
  47. packages:
  48. - gcc-multilib
  49. - compiler: gcc
  50. env: HOST=i686-linux-gnu ENDOMORPHISM=yes
  51. addons:
  52. apt:
  53. packages:
  54. - gcc-multilib
  55. - compiler: gcc
  56. env: HOST=i686-linux-gnu
  57. addons:
  58. apt:
  59. packages:
  60. - gcc-multilib
  61. - libgmp-dev:i386
  62. before_install: mkdir -p `dirname $GUAVA_JAR`
  63. install: if [ ! -f $GUAVA_JAR ]; then wget $GUAVA_URL -O $GUAVA_JAR; fi
  64. before_script: ./autogen.sh
  65. script:
  66. - if [ -n "$HOST" ]; then export USE_HOST="--host=$HOST"; fi
  67. - if [ "x$HOST" = "xi686-linux-gnu" ]; then export CC="$CC -m32"; fi
  68. - ./configure --enable-experimental=$EXPERIMENTAL --enable-endomorphism=$ENDOMORPHISM --with-field=$FIELD --with-bignum=$BIGNUM --with-scalar=$SCALAR --enable-ecmult-static-precomputation=$STATICPRECOMPUTATION --enable-module-ecdh=$ECDH --enable-module-recovery=$RECOVERY --enable-jni=$JNI $EXTRAFLAGS $USE_HOST && make -j2 $BUILD
  69. os: linux