Skip to content

Ubuntu GCC build

Ubuntu GCC build #183

Workflow file for this run

name: Ubuntu GCC build
on:
push:
schedule:
- cron: '0 0 11 * *'
workflow_dispatch:
env:
BUILD_TYPE: Release
jobs:
build:
name: Build with GCC
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install OpenCV
run: |
sudo apt-get update
sudo apt-get install -y libopencv-dev
- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build
- name: Configure CMake
shell: bash
working-directory: ${{github.workspace}}/build
run: cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE
- name: Build
working-directory: ${{github.workspace}}/build
shell: bash
run: cmake --build . --config $BUILD_TYPE