From 0b33df9b2fbf86036074fbe12ced9da754e0f492 Mon Sep 17 00:00:00 2001 From: Clayton Groeneveld Date: Sat, 23 Mar 2019 12:30:02 -0500 Subject: [PATCH] CI: Build CEF on Linux --- CI/before-script-linux.sh | 2 +- CI/install-dependencies-linux.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CI/before-script-linux.sh b/CI/before-script-linux.sh index a45d1e6b4..31e154410 100755 --- a/CI/before-script-linux.sh +++ b/CI/before-script-linux.sh @@ -8,4 +8,4 @@ fi set -ex ccache -s || echo "CCache is not available." mkdir build && cd build -cmake -DBUILD_CAPTIONS=ON .. +cmake -DBUILD_CAPTIONS=ON -DBUILD_BROWSER=ON -DCEF_ROOT_DIR="../cef_binary_${CEF_BUILD_VERSION}_linux64" .. diff --git a/CI/install-dependencies-linux.sh b/CI/install-dependencies-linux.sh index a30b8c8e8..a84c19153 100755 --- a/CI/install-dependencies-linux.sh +++ b/CI/install-dependencies-linux.sh @@ -54,3 +54,7 @@ sudo apt-get install -y \ libqt5svg5-dev \ swig \ clang-format-8 + +# build cef +wget --quiet --retry-connrefused --waitretry=1 https://cdn-fastly.obsproject.com/downloads/cef_binary_${CEF_BUILD_VERSION}_linux64.tar.bz2 +tar -xjf ./cef_binary_${CEF_BUILD_VERSION}_linux64.tar.bz2