forked from opencv/ade
-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (46 loc) · 1.2 KB
/
workflow.yaml
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
48
49
50
51
52
53
54
55
56
57
name: CI
on: [push, pull_request, workflow_dispatch]
env:
repo_name: ${{ github.repository }}
sha_git: ${{ github.sha }}
jobs:
# Build_Workflow:
# runs-on: ubuntu-22.04
# steps:
# - uses: actions/checkout@v3
# - name: Build Stage
# run: |
# mkdir build
# cd build
# cmake -DENABLE_ADE_TESTING=ON -DCMAKE_BUILD_TYPE=Release ..
# make -j
# - name: ADE-Test Stage
# run: ./build/bin/ade-tests
# - name: CMN-Test Stage
# run: ./build/bin/common-tests
Perf_Test_Workflow:
strategy:
matrix:
os: [
#ubuntu-18.04
#ubuntu-20.04,
#ubuntu-22.04,
#windows-2016,
windows-2019,
#windows-2022,
#macos-10.15,
#macos-11,
]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Build Stage
run: |
mkdir build
cd build
cmake -DENABLE_ADE_TESTING=ON -DCMAKE_BUILD_TYPE=Release ..
make -j
- name: ADE-Test Stage
run: ./build/bin/ade-tests
- name: CMN-Test Stage
run: ./build/bin/common-tests