File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -15,19 +15,28 @@ jobs:
15
15
- run : black --check --diff .
16
16
17
17
test :
18
- runs-on : ubuntu-18.04
18
+ runs-on : ${{ matrix.os }}
19
+ strategy :
20
+ matrix :
21
+ os : [ubuntu-18.04, ubuntu-20.04]
19
22
20
23
steps :
21
24
- uses : actions/checkout@v1
22
25
with :
23
26
submodules : true
27
+
24
28
- name : Add OpenCV 3.4 PPA
29
+ if : matrix.os == 'ubuntu-18.04'
25
30
run : sudo add-apt-repository -y ppa:~timsc/opencv-3.4
31
+
26
32
- name : Install dependencies
27
33
run : |
28
34
sudo apt-get install --no-install-recommends -y \
29
35
libopencv-dev python3-opencv
30
- - run : python3 -m pip install setuptools wheel
36
+
37
+ - name : Install Python setup requirements
38
+ run : python3 -m pip install setuptools wheel pkgconfig
39
+
31
40
- run : python3 setup.py sdist
32
41
- run : python3 -m pip install dist/*.tar.gz
33
42
- run : python3 -m cscore --help
You can’t perform that action at this time.
0 commit comments