]>
Commit | Line | Data |
---|---|---|
ecae2acb PW |
1 | language: c |
2 | compiler: | |
3 | - clang | |
4 | - gcc | |
d48555b3 PW |
5 | install: |
6 | - sudo apt-get install -qq libssl-dev | |
7873633b | 7 | - if [ "$BIGNUM" = "gmp" -o "$BIGNUM" = "auto" ]; then sudo apt-get install --no-install-recommends --no-upgrade -qq libgmp-dev; fi |
ecae2acb | 8 | - if [ -n "$EXTRAPACKAGES" ]; then sudo apt-get update && sudo apt-get install --no-install-recommends --no-upgrade $EXTRAPACKAGES; fi |
d48555b3 PW |
9 | env: |
10 | global: | |
7873633b | 11 | - FIELD=auto BIGNUM=auto SCALAR=auto ENDOMORPHISM=no ASM=no BUILD=check EXTRAFLAGS= HOST= EXTRAPACKAGES= |
d48555b3 PW |
12 | matrix: |
13 | - SCALAR=32bit | |
14 | - SCALAR=64bit | |
d48555b3 PW |
15 | - FIELD=64bit |
16 | - FIELD=64bit ENDOMORPHISM=yes | |
7873633b PW |
17 | - FIELD=64bit ASM=x86_64 |
18 | - FIELD=64bit ENDOMORPHISM=yes ASM=x86_64 | |
d48555b3 PW |
19 | - FIELD=32bit |
20 | - FIELD=32bit ENDOMORPHISM=yes | |
7873633b PW |
21 | - BIGNUM=no |
22 | - BIGNUM=no ENDOMORPHISM=yes | |
d48555b3 PW |
23 | - BUILD=distcheck |
24 | - EXTRAFLAGS=CFLAGS=-DDETERMINISTIC | |
ecae2acb PW |
25 | - HOST=i686-linux-gnu EXTRAPACKAGES="gcc-multilib" |
26 | - HOST=i686-linux-gnu EXTRAPACKAGES="gcc-multilib" ENDOMORPHISM=yes | |
d48555b3 | 27 | before_script: ./autogen.sh |
ecae2acb PW |
28 | script: |
29 | - if [ -n "$HOST" ]; then export USE_HOST="--host=$HOST"; fi | |
30 | - if [ "x$HOST" = "xi686-linux-gnu" ]; then export CC="$CC -m32"; fi | |
31 | - ./configure --enable-endomorphism=$ENDOMORPHISM --with-field=$FIELD --with-bignum=$BIGNUM --with-scalar=$SCALAR $EXTRAFLAGS $USE_HOST && make -j2 $BUILD | |
d48555b3 | 32 | os: linux |