4
4
push :
5
5
branches :
6
6
- main
7
- - dev
7
+ # - dev
8
8
pull_request :
9
9
branches :
10
10
- main
11
- - dev
11
+ # - dev
12
12
13
13
jobs :
14
14
build :
15
15
runs-on : ubuntu-latest
16
16
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
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