Skip to content

240501.002620.HKT disable warning C4464 with cl #17

240501.002620.HKT disable warning C4464 with cl

240501.002620.HKT disable warning C4464 with cl #17

Workflow file for this run

name: Build python wheels
on: [push, pull_request]
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019, macos-11]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Get tags for use with git describe
- name: Checkout pybind11 submodule
run: git submodule update --init python/pybind11
- uses: fortran-lang/setup-fortran@main
if: ${{ runner.os == 'macOS' }}
with:
compiler: gcc
version: 8
# Copied from https://github.com/scipy/scipy/blob/main/.github/workflows/wheels.yml
- name: win_amd64 - install rtools
run: |
# mingw-w64
choco install rtools -y --no-progress --force --version=4.0.0.20220206
echo "c:\rtools40\ucrt64\bin;" >> $env:GITHUB_PATH
if: ${{ runner.os == 'Windows' }}
- name: Build wheels
uses: pypa/cibuildwheel@v2.16.5
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
- uses: actions/upload-artifact@v4
with:
name: coverage-report-${{ matrix.os }}-${{ strategy.job-index }}
path: ./prima_htmlcov
build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build sdist
run: pipx run build --sdist
- uses: actions/upload-artifact@v4
with:
name: cibw-sdist
path: dist/*.tar.gz