We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdb93a9 commit 5d21341Copy full SHA for 5d21341
.github/workflows/linux.yml
@@ -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