Skip to content

Commit

Permalink
Added github actions to build and release
Browse files Browse the repository at this point in the history
  • Loading branch information
Maknee committed Jul 23, 2023
1 parent 740dc0f commit 5e11067
Showing 1 changed file with 22 additions and 7 deletions.
29 changes: 22 additions & 7 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5e11067

Please sign in to comment.