Skip to content

refactor(*): rm unused code #30

refactor(*): rm unused code

refactor(*): rm unused code #30

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