Browse Source

CI: Build CEF on Linux

Clayton Groeneveld 6 years ago
parent
commit
0b33df9b2f
2 changed files with 5 additions and 1 deletions
  1. 1 1
      CI/before-script-linux.sh
  2. 4 0
      CI/install-dependencies-linux.sh

+ 1 - 1
CI/before-script-linux.sh

@@ -8,4 +8,4 @@ fi
 set -ex
 set -ex
 ccache -s || echo "CCache is not available."
 ccache -s || echo "CCache is not available."
 mkdir build && cd build
 mkdir build && cd build
-cmake -DBUILD_CAPTIONS=ON ..
+cmake -DBUILD_CAPTIONS=ON -DBUILD_BROWSER=ON -DCEF_ROOT_DIR="../cef_binary_${CEF_BUILD_VERSION}_linux64" ..

+ 4 - 0
CI/install-dependencies-linux.sh

@@ -54,3 +54,7 @@ sudo apt-get install -y \
         libqt5svg5-dev \
         libqt5svg5-dev \
         swig \
         swig \
         clang-format-8
         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