forked from xmba15/onnx_runtime_cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 758 Bytes
/
build.yml
File metadata and controls
39 lines (31 loc) · 758 Bytes
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
name: Build
on:
push:
branches: ["master"]
pull_request:
jobs:
linting:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Apply pre-commit
uses: pre-commit/action@v3.0.0
with:
extra_args: --all-files
test-production:
runs-on: ubuntu-20.04
container:
image: xmba15/onnx_runtime_cpp:v1.14.1-ubuntu20.04
steps:
- uses: actions/checkout@v3
- name: Setup environment
run: |
sudo apt-get update
bash ./scripts/install_apps_dependencies.bash
- name: Test building
run: |
make apps -j`nproc`