Skip to content

Merge pull request #382 from stack-of-tasks/pre-commit-ci-update-config #198

Merge pull request #382 from stack-of-tasks/pre-commit-ci-update-config

Merge pull request #382 from stack-of-tasks/pre-commit-ci-update-config #198

Workflow file for this run

name: Check build on linux
on: ["push", "pull_request"]
jobs:
test:
name: "Test python ${{ matrix.python }} on ${{ matrix.ubuntu }}.04"
runs-on: "ubuntu-${{ matrix.ubuntu }}.04"
strategy:
matrix:
python: [3]
ubuntu: [20, 22]
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- run: |
sudo apt-get update
sudo apt-get install cmake libboost-all-dev libeigen3-dev python*-numpy python*-dev
echo $(sudo apt list --installed)
echo $(g++ --version)
- run: cmake -DPYTHON_EXECUTABLE=$(which python${{ matrix.python }}) .
- run: make -j2
- run: make test