mirror of
https://github.com/vgough/encfs.git
synced 2024-11-28 10:54:15 +01:00
22 lines
246 B
Bash
Executable File
22 lines
246 B
Bash
Executable File
#!/bin/bash -eu
|
|
|
|
cmake --version
|
|
|
|
CFG=""
|
|
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
|
CFG="-DENABLE_NLS=OFF -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl"
|
|
fi
|
|
|
|
if [[ ! -d build ]]
|
|
then
|
|
mkdir build
|
|
fi
|
|
|
|
cd build
|
|
cmake .. ${CFG}
|
|
make -j2
|
|
make test
|
|
|
|
cd ..
|
|
|