]>
Commit | Line | Data |
---|---|---|
992e03bc | 1 | language: c |
cf7f7022 CF |
2 | sudo: false |
3 | addons: | |
4 | apt: | |
5 | packages: libgmp-dev | |
992e03bc CF |
6 | compiler: |
7 | - clang | |
8 | - gcc | |
b0cc21f8 CF |
9 | env: |
10 | global: | |
733c1e69 | 11 | - FIELD=auto BIGNUM=auto SCALAR=auto ENDOMORPHISM=no STATICPRECOMPUTATION=no ASM=no BUILD=check EXTRAFLAGS= HOST= |
b0cc21f8 | 12 | matrix: |
1d52a8b1 PW |
13 | - SCALAR=32bit |
14 | - SCALAR=64bit | |
520ba3c9 PW |
15 | - FIELD=64bit |
16 | - FIELD=64bit ENDOMORPHISM=yes | |
1ba4a60a PW |
17 | - FIELD=64bit ASM=x86_64 |
18 | - FIELD=64bit ENDOMORPHISM=yes ASM=x86_64 | |
520ba3c9 PW |
19 | - FIELD=32bit |
20 | - FIELD=32bit ENDOMORPHISM=yes | |
1ba4a60a PW |
21 | - BIGNUM=no |
22 | - BIGNUM=no ENDOMORPHISM=yes | |
a83bb480 | 23 | - BIGNUM=no STATICPRECOMPUTATION=no |
b0cc21f8 | 24 | - BUILD=distcheck |
f49b2ef8 | 25 | - EXTRAFLAGS=CFLAGS=-DDETERMINISTIC |
cf7f7022 CF |
26 | matrix: |
27 | fast_finish: true | |
28 | include: | |
29 | - compiler: clang | |
30 | env: HOST=i686-linux-gnu ENDOMORPHISM=yes | |
31 | addons: | |
32 | apt: | |
33 | packages: | |
34 | - gcc-multilib | |
2d2707a4 | 35 | - libgmp-dev:i386 |
cf7f7022 CF |
36 | - compiler: clang |
37 | env: HOST=i686-linux-gnu | |
38 | addons: | |
39 | apt: | |
40 | packages: | |
41 | - gcc-multilib | |
42 | - compiler: gcc | |
43 | env: HOST=i686-linux-gnu ENDOMORPHISM=yes | |
44 | addons: | |
45 | apt: | |
46 | packages: | |
47 | - gcc-multilib | |
48 | - compiler: gcc | |
49 | env: HOST=i686-linux-gnu | |
50 | addons: | |
51 | apt: | |
52 | packages: | |
53 | - gcc-multilib | |
2d2707a4 | 54 | - libgmp-dev:i386 |
b0cc21f8 | 55 | before_script: ./autogen.sh |
45da235e CF |
56 | script: |
57 | - if [ -n "$HOST" ]; then export USE_HOST="--host=$HOST"; fi | |
58 | - if [ "x$HOST" = "xi686-linux-gnu" ]; then export CC="$CC -m32"; fi | |
733c1e69 | 59 | - ./configure --enable-endomorphism=$ENDOMORPHISM --with-field=$FIELD --with-bignum=$BIGNUM --with-scalar=$SCALAR --enable-ecmult-static-precomputation=$STATICPRECOMPUTATION $EXTRAFLAGS $USE_HOST && make -j2 $BUILD |
b0cc21f8 | 60 | os: linux |