Skip to content

Commit 5d21341

Browse files
committed
test python 2/3 ubuntu 18/20/22
1 parent bdb93a9 commit 5d21341

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/linux.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Check build on linux
2+
3+
on: ["push", "pull_request"]
4+
5+
jobs:
6+
test:
7+
name: "Test python ${{ matrix.python }} on ${{ matrix.ubuntu }}.04"
8+
runs-on: "ubuntu-${{ matrix.ubuntu }}.04"
9+
strategy:
10+
matrix:
11+
python: [2, 3]
12+
ubuntu: [18, 20, 22]
13+
exclude:
14+
- ubuntu: 22
15+
python: 2
16+
steps:
17+
- uses: actions/checkout@v3
18+
with:
19+
submodules: 'true'
20+
- run: |
21+
sudo apt-get update
22+
sudo apt-get install cmake libboost-all-dev libeigen3-dev python*-numpy python*-dev
23+
- run: cmake -DPYTHON_EXECUTABLE=$(which python${{ matrix.python }}) .
24+
- run: make
25+
- run: make test

0 commit comments

Comments
 (0)