Fix README markdown #81
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: gstcefsrc pull request test | |
on: | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
name: Run gstcefsrc tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get latest CMake | |
uses: lukka/get-cmake@latest | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install --yes libunwind-dev | |
sudo apt-get install --yes libgstreamer1.0-0 libgstreamer-plugins-base1.0-dev | |
- name: Cache | |
id: cache-cmake | |
uses: actions/cache@v2 | |
with: | |
path: | | |
build/ | |
third_party/ | |
key: ${{ hashFiles('cmake/DownloadCEF.cmake') }}-${{ hashFiles('CMakeLists.txt') }}-cache | |
- name: cmake | |
if: steps.cache-cmake.outputs.cache-hit != 'true' | |
run: | | |
mkdir -p build && cd build | |
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release .. | |
- name: make | |
run: | | |
cd build | |
make -j |