diff --git a/.drone.yml b/.drone.yml index 4365048..c0001db 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,6 +24,6 @@ steps: image: gcc pull: true commands: - - export CFLAGS="-DITERATE=400 -DPAIRS_S=100 -DITERATIONS=24" - ./tools/ci-build.sh --cores=4 - make check + diff --git a/tools/ci-build.sh b/tools/ci-build.sh index f68f41a..f99151f 100755 --- a/tools/ci-build.sh +++ b/tools/ci-build.sh @@ -4,7 +4,10 @@ ############################################################################## set -x + +export CFLAGS="-DITERATE=400 -DPAIRS_S=100 -DITERATIONS=24" ./configure $@ + if [ `uname -s` = "FreeBSD" ]; then make -j $(sysctl -n hw.ncpu) else