-
Notifications
You must be signed in to change notification settings - Fork 4
47 lines (46 loc) · 1.04 KB
/
linux-x86-cpu-gcc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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