23 lines
760 B
YAML
23 lines
760 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 ENDOMORPHISM=no BUILD=check
|
|
matrix:
|
|
- 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
|
|
before_script: ./autogen.sh
|
|
script: ./configure --enable-endomorphism=$ENDOMORPHISM --with-field=$FIELD --with-bignum=$BIGNUM && make -j2 $BUILD
|
|
os: linux
|