Skip to content

Commit

Permalink
👷 Trying to fix CI build error
Browse files Browse the repository at this point in the history
  • Loading branch information
mnixry committed Aug 29, 2023
1 parent e7e00a5 commit 050596d
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:

env:
MATRIX_OS: ${{ matrix.os }}
SCCACHE_GHA_ENABLED: true

runs-on: ${{ matrix.os }}-latest

Expand All @@ -37,9 +38,7 @@ jobs:
repository: opencv/opencv
ref: ${{ steps.latest-release.outputs.tag }}

- uses: Chocobo1/setup-ccache-action@v1
with:
windows_compile_environment: msvc
- uses: mozilla-actions/[email protected]

- uses: ilammy/msvc-dev-cmd@v1
id: msvc-env
Expand All @@ -60,14 +59,22 @@ jobs:
cmake .. \
-D CMAKE_INSTALL_PREFIX=../opencv \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_C_COMPILER_LAUNCHER=sccache \
-D CMAKE_CXX_COMPILER_LAUNCHER=sccache \
-D BUILD_LIST=core,imgproc,features2d \
-D BUILD_SHARED_LIBS=OFF \
-D ENABLE_CCACHE=ON \
-D WITH_ADE=OFF \
-D WITH_PROTOBUF=OFF \
-D WITH_QUIRC=OFF \
-D WITH_ITT=OFF \
-D WITH_OPENEXR=OFF
-D WITH_OPENEXR=OFF \
-D WITH_WEBP=OFF \
-D WITH_JASPER=OFF \
-D WITH_OPENJPEG=OFF \
-D WITH_JPEG=OFF \
-D WITH_PNG=OFF \
-D WITH_TIFF=OFF
cmake --build . --target install --parallel 4
Expand Down

0 comments on commit 050596d

Please sign in to comment.