Disable static build for osx

This commit is contained in:
kdeme 2019-11-28 12:17:04 +01:00
parent 9472cf31a9
commit c8e384e00a
No known key found for this signature in database
GPG Key ID: 4E8DD21420AF43F5
1 changed files with 6 additions and 2 deletions

View File

@ -51,5 +51,9 @@ script:
- make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC}" update # to allow a newer Nim version to be detected
- make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC}"
- build/nimbus --help
- make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC}" test test-reproducibility wrappers wrappers-static
# -static option will not work for osx unless static system libraries are provided
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC}" test test-reproducibility wrappers;
else
make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC}" test test-reproducibility wrappers wrappers-static;
fi