File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ branches :
9
+ - main
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - name : Checkout code
17
+ uses : actions/checkout@v4
18
+ with :
19
+ submodules : true
20
+
21
+ - name : Setup CMake caching
22
+ uses : actions/cache@v4
23
+ with :
24
+ # Cache the CMake build directory
25
+ path : build
26
+ key : ${{ runner.os }}-cmake-${{ hashFiles('**/CMakeLists.txt') }}
27
+ restore-keys : |
28
+ ${{ runner.os }}-cmake-
29
+
30
+ - name : Install dependencies
31
+ run : |
32
+ sudo apt update
33
+ sudo apt install -y cmake ocl-icd-opencl-dev opencl-headers libopencv-dev
34
+
35
+ - name : Build with CMake
36
+ run : |
37
+ cd /home/runner/work/OpenCL-Development-Real-time-Image-Processing/OpenCL-Development-Real-time-Image-Processing/
38
+ mkdir -p build
39
+ cmake -S . -B build
40
+ cd build
41
+ make
You can’t perform that action at this time.
0 commit comments