secp256k1/.travis.yml

33 lines
1.3 KiB
YAML
Raw Normal View History

2014-11-13 22:50:10 +00:00
language: c
compiler:
- clang
- gcc
install:
2014-10-29 14:47:28 +00:00
- sudo apt-get install -qq libssl-dev
2014-12-17 11:41:31 +00:00
- if [ "$BIGNUM" = "gmp" -o "$BIGNUM" = "auto" ]; then sudo apt-get install --no-install-recommends --no-upgrade -qq libgmp-dev; fi
2014-12-09 01:10:50 +00:00
- if [ -n "$EXTRAPACKAGES" ]; then sudo apt-get update && sudo apt-get install --no-install-recommends --no-upgrade $EXTRAPACKAGES; fi
env:
global:
2014-12-12 15:20:47 +00:00
- FIELD=auto BIGNUM=auto SCALAR=auto ENDOMORPHISM=no ASM=no BUILD=check EXTRAFLAGS= HOST= EXTRAPACKAGES=
matrix:
- SCALAR=32bit
- SCALAR=64bit
2014-10-29 14:47:28 +00:00
- FIELD=64bit
- FIELD=64bit ENDOMORPHISM=yes
2014-12-12 15:20:47 +00:00
- FIELD=64bit ASM=x86_64
- FIELD=64bit ENDOMORPHISM=yes ASM=x86_64
2014-10-29 14:47:28 +00:00
- FIELD=32bit
- FIELD=32bit ENDOMORPHISM=yes
2014-12-12 15:20:47 +00:00
- BIGNUM=no
- BIGNUM=no ENDOMORPHISM=yes
- BUILD=distcheck
- EXTRAFLAGS=CFLAGS=-DDETERMINISTIC
2014-12-09 15:58:52 +00:00
- HOST=i686-linux-gnu EXTRAPACKAGES="gcc-multilib"
- HOST=i686-linux-gnu EXTRAPACKAGES="gcc-multilib" ENDOMORPHISM=yes
before_script: ./autogen.sh
2014-12-09 01:10:50 +00:00
script:
- if [ -n "$HOST" ]; then export USE_HOST="--host=$HOST"; fi
- if [ "x$HOST" = "xi686-linux-gnu" ]; then export CC="$CC -m32"; fi
2014-12-09 15:58:52 +00:00
- ./configure --enable-endomorphism=$ENDOMORPHISM --with-field=$FIELD --with-bignum=$BIGNUM --with-scalar=$SCALAR $EXTRAFLAGS $USE_HOST && make -j2 $BUILD
os: linux