Skip to content

Commit b5b3e3d

Browse files
authored
Merge pull request #20 from ErickOF/feature-qa_checks
Adding SystemC installation and tet compilation of all the modules
2 parents 323436d + 5e9b60d commit b5b3e3d

File tree

1 file changed

+56
-13
lines changed

1 file changed

+56
-13
lines changed

.github/workflows/cpp.yml

Lines changed: 56 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,67 @@ on:
44
push:
55
branches:
66
- main
7-
- dev
7+
# - dev
88
pull_request:
99
branches:
1010
- main
11-
- dev
11+
# - dev
1212

1313
jobs:
1414
build:
15-
1615
runs-on: ubuntu-latest
1716

18-
steps:
19-
- uses: actions/checkout@v4
20-
- name: install dependencies
21-
run: sudo apt-get install -y libopencv-dev
22-
- name: compile compression
23-
working-directory: ./modules/compression
24-
run: make IPS_JPG_AT_EN=1 INCLUDE_OPENCV_PKG=1
25-
- name: compile edge detector
26-
working-directory: ./modules/edge-detector
27-
run: make EDGE_DETECTOR_AT_EN=1 INCLUDE_OPENCV_PKG=1
17+
# env:
18+
# ACTIONS_STEP_DEBUG: true
19+
#
20+
# steps:
21+
# - name: Checkout code
22+
# uses: actions/checkout@v4
23+
#
24+
# - name: Cache tools
25+
# id: cache-deps
26+
# uses: actions/cache@v2
27+
# with:
28+
# path: |
29+
# /usr/local/systemc-3.0.0
30+
# $HOME/systemc-3.0.0
31+
# key: ${{ runner.os }}-build-${{ hashFiles('**/setup-dependencies.sh') }}
32+
# restore-keys: |
33+
# ${{ runner.os }}-build-
34+
#
35+
# - name: Install Dependencies
36+
# if: steps.cache-deps.outputs.cache-hit != 'true'
37+
# run: |
38+
# set -x
39+
# sudo apt-get install libopencv-dev
40+
# cd $HOME
41+
# rm -rf systemc-3.0.0
42+
# git clone https://github.com/accellera-official/systemc.git systemc-3.0.0
43+
# cd systemc-3.0.0
44+
# ./config/bootstrap
45+
# mkdir -p objdir
46+
# cd objdir
47+
# export CXX=g++
48+
# ../configure --prefix=/usr/local/systemc-3.0.0
49+
# mkdir -p examples/
50+
# cp -r ../examples/* examples/
51+
# make
52+
# sudo make install
53+
# export SYSTEMC_HOME=/usr/local/systemc-3.0.0
54+
# export LD_LIBRARY_PATH=$SYSTEMC_HOME/lib-linux64
55+
# - name: Compile Compression
56+
# working-directory: ./modules/compression
57+
# run: make IPS_JPG_AT_EN=1 INCLUDE_OPENCV_PKG=1
58+
# - name: Compile Edge Detector
59+
# working-directory: ./modules/edge-detector
60+
# run: make EDGE_DETECTOR_AT_EN=1 INCLUDE_OPENCV_PKG=1
61+
# - name: Compile Filter
62+
# working-directory: ./modules/filter
63+
# run: make IPS_FILTER_LT_EN=1 TEST_MODE_IMAGE=1 IPS_DUMP_EN=1 INCLUDE_OPENCV_PKG=1
64+
# - name: Compile RGB2Gray
65+
# working-directory: ./modules/rgb2gray
66+
# run: make RGB2GRAY_PV_EN=1 INCLUDE_OPENCV_PKG=1
67+
# - name: Compile Unification
68+
# working-directory: ./modules/unification
69+
# run: make IMG_UNIFICATE_PV_EN=1
70+
#

0 commit comments

Comments
 (0)