• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1language: c
2dist: bionic
3compiler:
4  - clang
5  - gcc
6
7addons:
8  apt:
9    packages:
10    - autoconf-archive
11
12arch:
13  - amd64
14  - arm64
15  - s390x
16
17matrix:
18  include:
19    - compiler: clang
20      env: CONF_OPT="--host=i686-pc-linux-gnu" CFLAGS="-m32" LDFLAGS="-m32"
21    - compiler: gcc
22      env: CONF_OPT="--host=i686-pc-linux-gnu" CFLAGS="-m32" LDFLAGS="-m32"
23
24before_install:
25  - |
26    if [ $LDFLAGS = "-m32" ]; then
27        sudo dpkg --add-architecture i386
28        sudo apt-get update
29        sudo apt-get install gcc-multilib libssl-dev:i386
30    fi
31
32before_script:
33  - cd TPMCmd
34
35script:
36  - ./bootstrap
37  - ./configure ${CONF_OPT}
38  - make --jobs=$(($(nproc)*3/2)) distcheck
39