Skip to content

Fix

Fix #6

name: Build
on: [push, pull_request]
concurrency:
group: wheel_linux_x86_64-${{ github.ref }}
cancel-in-progress: true
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
arch: [x86_64]
steps:
- uses: actions/checkout@v4
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_BEFORE_BUILD: |
cat /etc/yum.conf | sed "s/\[main\]/\[main\]\ntimeout=5/g" > /etc/yum.conf
python -m pip install cmake~=3.24.0
yum clean all -y
yum install devtoolset-11-gcc-c++ -y
yum install mpfr
yum install boost boost-thread boost-devel
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl