Skip to content

Merge pull request #119 from aws-samples/webrtc_v1.8.1 #165

Merge pull request #119 from aws-samples/webrtc_v1.8.1

Merge pull request #119 from aws-samples/webrtc_v1.8.1 #165

Workflow file for this run

name: v4l2
on: [push, pull_request, workflow_dispatch]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
BOARD: V4L2
CC: gcc-10
CXX: g++-10
jobs:
x64-v4l2:
runs-on: ubuntu-latest
steps:
- name: Install libv4l2
run: sudo apt install libv4l-dev -y
- name: Git checkout
uses: actions/checkout@v2
- name: Configure CMake
run: cmake -B ${{ github.workspace }}/build -DBOARD=${{ env.BOARD }} -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DBUILD_WEBRTC_SAMPLES=ON -DBUILD_KVS_SAMPLES=ON -DBUILD_SAVE_FRAME_SAMPLES=ON
- name: Build
run: cmake --build ${{ github.workspace }}/build --config ${{ env.BUILD_TYPE }} --parallel 4
- name: Test
run: ctest -C ${{ env.BUILD_TYPE }}