Skip to content

Delete .github/workflows/cmake-single-platform.yml #5

Delete .github/workflows/cmake-single-platform.yml

Delete .github/workflows/cmake-single-platform.yml #5

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libopencv-dev
if [[ ${{env.USE_GSTREAMER}} == "ON" ]]; then
sudo apt-get install -y libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
fi
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release -DUSE_GSTREAMER=${{env.USE_GSTREAMER}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config Release
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C Release