0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00
obs-studio/CI/before-script-linux.sh
2020-02-25 22:38:12 -06:00

12 lines
258 B
Bash
Executable File

#!/bin/bash
./formatcode.sh
if ! ./CI/check-format.sh; then
exit 1
fi
set -ex
ccache -s || echo "CCache is not available."
mkdir build && cd build
cmake -DBUILD_CAPTIONS=ON -DBUILD_BROWSER=ON -DCEF_ROOT_DIR="../cef_binary_${CEF_BUILD_VERSION}_linux64" ..