refactor(*): adopt clang-format target #36
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: linux-x86-cpu-gcc | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/linux-x86-cpu-gcc.yml' | |
- 'CMakeLists.txt' | |
- 'cmake/**' | |
- 'mediapipe/**' | |
- 'examples/**' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/linux-x86-cpu-gcc.yml' | |
- 'CMakeLists.txt' | |
- 'cmake/**' | |
- 'mediapipe/**' | |
- 'examples/**' | |
concurrency: | |
group: linux-x86-cpu-gcc-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
linux-gcc: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: update | |
run: sudo apt update | |
- name: install_dep | |
run: sudo apt install libgtk2.0-dev libva-dev | |
- name: install_conan | |
run: | | |
pip3 install conan | |
conan profile detect --force | |
- name: build | |
run: | | |
conan graph info . | |
conan install . --build=missing -pr:h=docker/x86_gcc_profile | |
cd build_Linux | |
cmake .. | |
make -j 2 | |
- name: test | |
run: cd build_Linux && make test |