Skip to content

Commit

Permalink
Fixing github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaDdS committed May 3, 2024
1 parent 194dfb0 commit 725f6c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
build_type: ['Debug', 'Release']
config:
- { name: '🍏 macOS Clang', os: macos-latest }
- { name: '🐧 Linux GCC', os: ubuntu-latest }
- { name: '🐧 Linux GCC', os: ubuntu-20.04 }
- { name: '🪟 Windows MSVC', os: windows-latest }

name: 🛠 Build / ${{ matrix.config.name }} (${{ matrix.build_type }})
Expand All @@ -46,7 +46,6 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y ccache ninja-build
sudo apt-get install python2.7
- name: Install Dependencies (Windows)
if: matrix.config.os == 'windows-latest'
Expand All @@ -63,11 +62,8 @@ jobs:
max-size: '10G'
key: ${{ matrix.config.os }}-${{ matrix.build_type }}

- name: Install OpenCV
- name: Setup OpenCV
uses: Dovyski/[email protected]
with:
opencv-version: '4.2.0'
install-deps: false

- name: Configure
run: >
Expand Down
2 changes: 1 addition & 1 deletion src/OpenCVGodot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ Ref<Mat> OpenCVGodot::bitwise_not( Ref<Mat> mat, Ref<Mat> mask )
mask = Ref<Mat>( memnew( Mat ) );
}

try
try
{
cv::bitwise_not( mat->get_mat(), outMat, mask->get_mat() );
}
Expand Down

0 comments on commit 725f6c1

Please sign in to comment.