d48555b36a
git-subtree-dir: src/secp256k1 git-subtree-split: ad2028f9890ca40bdd32055aa0fe5c1c9af0e485
25 lines
898 B
YAML
25 lines
898 B
YAML
language: cpp
|
|
compiler: gcc
|
|
install:
|
|
- sudo apt-get install -qq libssl-dev
|
|
- if [ "$BIGNUM" = "gmp" -o "$BIGNUM" = "auto" -o "$FIELD" = "gmp" ]; then sudo apt-get install -qq libgmp-dev; fi
|
|
- if [ "$FIELD" = "64bit_asm" ]; then sudo apt-get install -qq yasm; fi
|
|
env:
|
|
global:
|
|
- FIELD=auto BIGNUM=auto SCALAR=auto ENDOMORPHISM=no BUILD=check EXTRAFLAGS=
|
|
matrix:
|
|
- SCALAR=32bit
|
|
- SCALAR=64bit
|
|
- FIELD=gmp
|
|
- FIELD=gmp ENDOMORPHISM=yes
|
|
- FIELD=64bit_asm
|
|
- FIELD=64bit_asm ENDOMORPHISM=yes
|
|
- FIELD=64bit
|
|
- FIELD=64bit ENDOMORPHISM=yes
|
|
- FIELD=32bit
|
|
- FIELD=32bit ENDOMORPHISM=yes
|
|
- BUILD=distcheck
|
|
- EXTRAFLAGS=CFLAGS=-DDETERMINISTIC
|
|
before_script: ./autogen.sh
|
|
script: ./configure --enable-endomorphism=$ENDOMORPHISM --with-field=$FIELD --with-bignum=$BIGNUM --with-scalar=$SCALAR $EXTRAFLAGS && make -j2 $BUILD
|
|
os: linux
|