mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-11 20:32:35 -03:00
7280781c3a
This is a more realistic representation of a build environment. Helps to ensure configure logic and that headers aren't accidentally assumed to be present.
29 lines
1.2 KiB
YAML
29 lines
1.2 KiB
YAML
language: cpp
|
|
compiler: gcc
|
|
install:
|
|
- if [ "$BIGNUM" = "gmp" -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 BIGNUM=gmp
|
|
- FIELD=gmp BIGNUM=openssl
|
|
- FIELD=64bit_asm BIGNUM=gmp
|
|
- FIELD=64bit_asm BIGNUM=openssl
|
|
- FIELD=64bit BIGNUM=gmp
|
|
- FIELD=64bit BIGNUM=openssl
|
|
- FIELD=32bit BIGNUM=gmp
|
|
- FIELD=32bit BIGNUM=openssl
|
|
- FIELD=gmp BIGNUM=gmp ENDOMORPHISM=yes
|
|
- FIELD=gmp BIGNUM=openssl ENDOMORPHISM=yes
|
|
- FIELD=64bit_asm BIGNUM=gmp ENDOMORPHISM=yes
|
|
- FIELD=64bit_asm BIGNUM=openssl ENDOMORPHISM=yes
|
|
- FIELD=64bit BIGNUM=gmp ENDOMORPHISM=yes
|
|
- FIELD=64bit BIGNUM=openssl ENDOMORPHISM=yes
|
|
- FIELD=32bit BIGNUM=gmp ENDOMORPHISM=yes
|
|
- FIELD=32bit BIGNUM=openssl ENDOMORPHISM=yes
|
|
- BUILD=distcheck
|
|
before_script: ./autogen.sh
|
|
script: ./configure --enable-endomorphism=$ENDOMORPHISM --with-field=$FIELD --with-bignum=$BIGNUM && make -j2 $BUILD
|
|
os: linux
|