Skip to content

test cmake and python build #1

test cmake and python build

test cmake and python build #1

Workflow file for this run

name: Python cmake build test
on:
push:
branches:
- master
tags:
- v*
- py_v*
pull_request:
branches:
- master
jobs:
Linux:
runs-on: ubuntu-latest
container: quay.io/pypa/manylinux2014_x86_64:latest
steps:
- uses: actions/checkout@v3
- name: install gfortran
run: |
yum install -y devtoolset-11-toolchain
- name: Compile and install python bindings
run: |
scl enable devtoolset-11 bash
/opt/python/cp311-cp311/bin/python -m pip install .
- name: Test python bindings
run: |
/opt/python/cp311-cp311/bin/python -m pip install pytest
/opt/python/cp311-cp311/bin/python -m pytest -s python/test