summaryrefslogtreecommitdiff
path: root/other/travis/autotools-script
blob: 3ab598c0cb73f3f6e0e7f2d715d11931004ae772 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# Build toxcore and run tests.
./autogen.sh
./configure \
  --with-nacl-libs=$CACHE_DIR/lib/amd64 \
  --with-nacl-headers=$CACHE_DIR/include/amd64 \
  --enable-nacl \
  --enable-daemon \
  --enable-logging \
  --enable-ntox \
  --with-log-level=TRACE

# We use make instead of RUN $MAKE here, because the autotools build will only
# ever run natively on the Linux container, never on a Windows cross compilation
# docker instance or an OSX machine.
make -j$NPROC -k
make distcheck -j$NPROC -k