]> Git Repo - secp256k1.git/blob - .travis.yml
Merge pull request #252
[secp256k1.git] / .travis.yml
1 language: c
2 sudo: false
3 addons:
4   apt:
5     packages: libgmp-dev
6 compiler:
7   - clang
8   - gcc
9 env:
10   global:
11     - FIELD=auto  BIGNUM=auto  SCALAR=auto  ENDOMORPHISM=no  STATICPRECOMPUTATION=no ASM=no  BUILD=check  EXTRAFLAGS= HOST= ECDH=no
12   matrix:
13     - SCALAR=32bit
14     - SCALAR=32bit    FIELD=32bit       ECDH=yes
15     - SCALAR=64bit
16     - FIELD=64bit
17     - FIELD=64bit     ENDOMORPHISM=yes
18     - FIELD=64bit     ENDOMORPHISM=yes  ECDH=yes
19     - FIELD=64bit                       ASM=x86_64
20     - FIELD=64bit     ENDOMORPHISM=yes  ASM=x86_64
21     - FIELD=32bit
22     - FIELD=32bit     ENDOMORPHISM=yes
23     - BIGNUM=no
24     - BIGNUM=no       ENDOMORPHISM=yes
25     - BIGNUM=no       STATICPRECOMPUTATION=no
26     - BUILD=distcheck
27     - EXTRAFLAGS=CFLAGS=-DDETERMINISTIC
28 matrix:
29   fast_finish: true
30   include:
31     - compiler: clang
32       env: HOST=i686-linux-gnu ENDOMORPHISM=yes
33       addons:
34         apt:
35           packages:
36             - gcc-multilib
37             - libgmp-dev:i386
38     - compiler: clang
39       env: HOST=i686-linux-gnu
40       addons:
41         apt:
42           packages:
43             - gcc-multilib
44     - compiler: gcc
45       env: HOST=i686-linux-gnu ENDOMORPHISM=yes
46       addons:
47         apt:
48           packages:
49             - gcc-multilib
50     - compiler: gcc
51       env: HOST=i686-linux-gnu
52       addons:
53         apt:
54           packages:
55             - gcc-multilib
56             - libgmp-dev:i386
57 before_script: ./autogen.sh
58 script:
59  - if [ -n "$HOST" ]; then export USE_HOST="--host=$HOST"; fi
60  - if [ "x$HOST" = "xi686-linux-gnu" ]; then export CC="$CC -m32"; fi
61  - ./configure --enable-endomorphism=$ENDOMORPHISM --with-field=$FIELD --with-bignum=$BIGNUM --with-scalar=$SCALAR --enable-ecmult-static-precomputation=$STATICPRECOMPUTATION --enable-module-ecdh=$ECDH $EXTRAFLAGS $USE_HOST && make -j2 $BUILD
62 os: linux
This page took 0.027643 seconds and 4 git commands to generate.