Skip to content

fix issue https://github.com/UrielCh/opencv4nodejs/issues/136 #25

fix issue https://github.com/UrielCh/opencv4nodejs/issues/136

fix issue https://github.com/UrielCh/opencv4nodejs/issues/136 #25

Workflow file for this run

name: Use OpenCV from Ubuntu apt
on:
push:
branches: [ "never", "master", "deno" ]
paths: ['src/**', 'src/*.ts', '.github/workflows/linux-detect.yml' ]
# pull_request:
# branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# node-version: [14.x, 16.x, 18.x]
opencv_version:
- 4
env:
OPENCV4NODEJS_DISABLE_AUTOBUILD: 1
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Install OpenCV ${{ matrix.opencv_version }}
run: |
echo sudo apt update; sudo apt install libopencv-dev
- name: Detect OpenCV
run: deno run -A main.ts --verbose
- run: deno test -A