-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added github actions to build and release
- Loading branch information
Showing
1 changed file
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,14 @@ jobs: | |
id: depends | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install build-essential zip libopencv-dev python3-opencv | ||
sudo apt-get install build-essential zip | ||
- name: DependenciesOpenCV | ||
id: depends_opencv | ||
uses: cvpkg/[email protected] | ||
with: | ||
opencv_tag: '4.6.0' | ||
BUILD_LIST: 'core,imgcodecs,imgproc' | ||
|
||
- name: Build | ||
id: cmake_build | ||
|
@@ -93,7 +100,15 @@ jobs: | |
- name: Dependencies | ||
id: depends | ||
run: | | ||
brew install zip opencv | ||
brew install zip | ||
- name: DependenciesOpenCV | ||
id: depends_opencv | ||
uses: cvpkg/[email protected] | ||
with: | ||
opencv_tag: '4.6.0' | ||
BUILD_LIST: 'core,imgcodecs,imgproc' | ||
BUILD_SHARED_LIBS: 'OFF' | ||
|
||
- name: Build | ||
id: cmake_build | ||
|
@@ -160,12 +175,12 @@ jobs: | |
|
||
- name: Dependencies | ||
id: depends | ||
uses: Dovyski/setup-opencv-action@v1.1 | ||
uses: cvpkg/opencv-action@v0.1 | ||
with: | ||
opencv-version: 4.8.0 | ||
ENABLE_PRECOMPILED_HEADERS: OFF | ||
INSTALL_C_EXAMPLES: OFF | ||
BUILD_EXAMPLES: OFF | ||
opencv_tag: '4.6.0' | ||
BUILD_LIST: 'core,imgcodecs,imgproc' | ||
BUILD_SHARED_LIBS: 'OFF' | ||
BUILD_WITH_STATIC_CRT: 'ON' | ||
|
||
- name: Build | ||
id: cmake_build | ||
|