]>
Commit | Line | Data |
---|---|---|
992e03bc | 1 | language: c |
7667532b | 2 | os: linux |
cf7f7022 CF |
3 | addons: |
4 | apt: | |
5 | packages: libgmp-dev | |
992e03bc CF |
6 | compiler: |
7 | - clang | |
8 | - gcc | |
3093576a G |
9 | cache: |
10 | directories: | |
11 | - src/java/guava/ | |
b0cc21f8 CF |
12 | env: |
13 | global: | |
dcb2e3b3 | 14 | - FIELD=auto BIGNUM=auto SCALAR=auto ENDOMORPHISM=no STATICPRECOMPUTATION=yes ECMULTGENPRECISION=auto ASM=no BUILD=check EXTRAFLAGS= HOST= ECDH=no RECOVERY=no EXPERIMENTAL=no JNI=no |
3093576a | 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 |
b0cc21f8 | 16 | matrix: |
9f443be0 | 17 | - SCALAR=32bit RECOVERY=yes |
83221ecb | 18 | - SCALAR=32bit FIELD=32bit ECDH=yes EXPERIMENTAL=yes |
1d52a8b1 | 19 | - SCALAR=64bit |
9f443be0 | 20 | - FIELD=64bit RECOVERY=yes |
520ba3c9 | 21 | - FIELD=64bit ENDOMORPHISM=yes |
83221ecb | 22 | - FIELD=64bit ENDOMORPHISM=yes ECDH=yes EXPERIMENTAL=yes |
1ba4a60a PW |
23 | - FIELD=64bit ASM=x86_64 |
24 | - FIELD=64bit ENDOMORPHISM=yes ASM=x86_64 | |
520ba3c9 | 25 | - FIELD=32bit ENDOMORPHISM=yes |
1ba4a60a | 26 | - BIGNUM=no |
8eecc4a3 | 27 | - BIGNUM=no ENDOMORPHISM=yes RECOVERY=yes EXPERIMENTAL=yes |
a83bb480 | 28 | - BIGNUM=no STATICPRECOMPUTATION=no |
b0cc21f8 | 29 | - BUILD=distcheck |
7c823e30 CF |
30 | - EXTRAFLAGS=CPPFLAGS=-DDETERMINISTIC |
31 | - EXTRAFLAGS=CFLAGS=-O0 | |
57752d28 | 32 | - BUILD=check-java JNI=yes ECDH=yes EXPERIMENTAL=yes |
dcb2e3b3 | 33 | - ECMULTGENPRECISION=2 |
34 | - ECMULTGENPRECISION=8 | |
cf7f7022 CF |
35 | matrix: |
36 | fast_finish: true | |
37 | include: | |
38 | - compiler: clang | |
39 | env: HOST=i686-linux-gnu ENDOMORPHISM=yes | |
40 | addons: | |
41 | apt: | |
42 | packages: | |
43 | - gcc-multilib | |
2d2707a4 | 44 | - libgmp-dev:i386 |
cf7f7022 CF |
45 | - compiler: clang |
46 | env: HOST=i686-linux-gnu | |
47 | addons: | |
48 | apt: | |
49 | packages: | |
50 | - gcc-multilib | |
51 | - compiler: gcc | |
52 | env: HOST=i686-linux-gnu ENDOMORPHISM=yes | |
53 | addons: | |
54 | apt: | |
55 | packages: | |
56 | - gcc-multilib | |
57 | - compiler: gcc | |
58 | env: HOST=i686-linux-gnu | |
59 | addons: | |
60 | apt: | |
61 | packages: | |
62 | - gcc-multilib | |
2d2707a4 | 63 | - libgmp-dev:i386 |
3093576a G |
64 | before_install: mkdir -p `dirname $GUAVA_JAR` |
65 | install: if [ ! -f $GUAVA_JAR ]; then wget $GUAVA_URL -O $GUAVA_JAR; fi | |
b0cc21f8 | 66 | before_script: ./autogen.sh |
45da235e CF |
67 | script: |
68 | - if [ -n "$HOST" ]; then export USE_HOST="--host=$HOST"; fi | |
69 | - if [ "x$HOST" = "xi686-linux-gnu" ]; then export CC="$CC -m32"; fi | |
dcb2e3b3 | 70 | - ./configure --enable-experimental=$EXPERIMENTAL --enable-endomorphism=$ENDOMORPHISM --with-field=$FIELD --with-bignum=$BIGNUM --with-scalar=$SCALAR --enable-ecmult-static-precomputation=$STATICPRECOMPUTATION --with-ecmult-gen-precision=$ECMULTGENPRECISION --enable-module-ecdh=$ECDH --enable-module-recovery=$RECOVERY --enable-jni=$JNI $EXTRAFLAGS $USE_HOST && make -j2 $BUILD |