forked from modelbox-ai/modelbox
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (42 loc) · 1.13 KB
/
merge-request-rockchip.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
48
49
50
51
52
name: Merge Request RockChip
on:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: [rockchip-build, Linux, ARM64]
steps:
- run: echo "the build begin"
- name: Checkout
uses: actions/checkout@v3
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: ubuntu-latest-arm64
max-size: 1024M
- name: Remove old modelbox
continue-on-error: true
run: |
dpkg -r $(dpkg -l|grep modelbox|awk '{print $2}')
- name: Configure CMake
run: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DWITH_WEBUI=off -DCLANG_TIDY=on -DCLANG_TIDY_AS_ERROR=on
- name: build
working-directory: build
run: |
make package -j8
- name: show result
working-directory: build
run: |
ls -l src/drivers/devices/rockchip/core
ls -l release
- name: Finish
run: echo "the build finish"