File tree Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,29 @@ jobs:
30
30
31
31
- uses : extractions/setup-just@v2
32
32
33
- - run : sudo apt-get update && sudo apt-get install -y build-essential checkinstall git cmake g++ wget unzip pkg-config yasm git
34
-
35
- with :
36
- opencv-version : ' 4.0.0'
37
- CMAKE_BUILD_TYPE : RelWithDebInfo
38
- install-deps : false
39
-
40
- # - run: sudo apt-get update && sudo apt install -y libopencv-dev
33
+ # https://docs.opencv.org/4.x/d7/d9f/tutorial_linux_install.html
34
+ - name : Build opencv
35
+ run : |
36
+ sudo apt update && sudo apt install -y cmake g++ wget unzip
37
+
38
+ # Download and unpack sources
39
+ wget -O opencv.zip https://github.com/opencv/opencv/archive/4.x.zip
40
+ unzip opencv.zip
41
+
42
+ # Create build directory
43
+ mkdir -p build && cd build
44
+
45
+ # Configure
46
+ cmake ../opencv-4.x
47
+
48
+ # Build
49
+ cmake --build .
50
+
51
+ # - uses: Dovyski/[email protected]
52
+ # with:
53
+ # opencv-version: '4.0.0'
54
+ # CMAKE_BUILD_TYPE: RelWithDebInfo
55
+ # install-deps: false
41
56
42
57
- name : Build the benchmark target(s)
43
58
run : |
You can’t perform that action at this time.
0 commit comments