Skip to content

Commit 16b7bb5

Browse files
authored
Merge pull request robotpy#98 from auscompgeek/ci-focal
Add Ubuntu 20.04 to CI
2 parents 7679080 + 6998b26 commit 16b7bb5

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/ci.yml

+11-2
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,28 @@ jobs:
1515
- run: black --check --diff .
1616

1717
test:
18-
runs-on: ubuntu-18.04
18+
runs-on: ${{ matrix.os }}
19+
strategy:
20+
matrix:
21+
os: [ubuntu-18.04, ubuntu-20.04]
1922

2023
steps:
2124
- uses: actions/checkout@v1
2225
with:
2326
submodules: true
27+
2428
- name: Add OpenCV 3.4 PPA
29+
if: matrix.os == 'ubuntu-18.04'
2530
run: sudo add-apt-repository -y ppa:~timsc/opencv-3.4
31+
2632
- name: Install dependencies
2733
run: |
2834
sudo apt-get install --no-install-recommends -y \
2935
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+
3140
- run: python3 setup.py sdist
3241
- run: python3 -m pip install dist/*.tar.gz
3342
- run: python3 -m cscore --help

0 commit comments

Comments
 (0)