Skip to content

change tool chain

change tool chain #4

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/manylinux_2_28_x86_64:latest
steps:
- uses: actions/checkout@v4
- 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