Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit efa0968

Browse filesBrowse files
authored
Update build.yml
1 parent afe24d7 commit efa0968
Copy full SHA for efa0968

File tree

Expand file treeCollapse file tree

1 file changed

+7
-7
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-7
lines changed

‎.github/workflows/build.yml

Copy file name to clipboardExpand all lines: .github/workflows/build.yml
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525
run: |
2626
brew install ffmpeg
2727
28-
# - name: Cache build_opencv
29-
# id: cache-build_opencv_x86_64
30-
# uses: actions/cache@v4
31-
# with:
32-
# path: build_opencv
33-
# key: ${{ runner.os }}-build_opencv_x86_64
28+
- name: Cache build_opencv
29+
id: cache-build_opencv_x86_64
30+
uses: actions/cache@v4
31+
with:
32+
path: build_opencv
33+
key: ${{ runner.os }}-build_opencv_x86_64
3434

3535
- name: git
3636
run: |
@@ -42,7 +42,7 @@ jobs:
4242

4343
- name: build # export PKG_CONFIG_PATH="/opt/homebrew/opt/ffmpeg@6/lib/pkgconfig"
4444
run: |
45-
mkdir -p build_opencv && cd build_opencv && cmake -DCMAKE_BUILD_TYPE=Release ../opencv -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules -DWITH_FFMPEG=ON -DBUILD_SHARED_LIBS=ON -DBUILD_opencv_apps=OFF -DBUILD_opencv_text=OFF -DBUILD_opencv_hdf=OFF -DBUILD_DOCS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_TESTS=OFF -DBUILD_WITH_DEBUG_INFO=OFF -DBUILD_opencv_freetype=OFF -DBUILD_opencv_world=ON && make -j$(sysctl -n hw.ncpu) && cd .. && rm -f target/release/loder_path && cargo build --release && cp target/release/loder_path build_opencv/lib/loder_path && cd build_opencv/lib && ./loder_path
45+
mkdir -p build_opencv && cd build_opencv && rm -f result.txt && cmake -DCMAKE_BUILD_TYPE=Release ../opencv -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules -DWITH_FFMPEG=ON -DBUILD_SHARED_LIBS=ON -DBUILD_opencv_apps=OFF -DBUILD_opencv_text=OFF -DBUILD_opencv_hdf=OFF -DBUILD_DOCS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_TESTS=OFF -DBUILD_WITH_DEBUG_INFO=OFF -DBUILD_opencv_freetype=OFF -DBUILD_opencv_world=ON && make -j$(sysctl -n hw.ncpu) && cd .. && rm -f target/release/loder_path && cargo build --release && cp target/release/loder_path build_opencv/lib/loder_path && cd build_opencv/lib && ./loder_path
4646
4747
- name: Compress build folder
4848
run: |

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.