Merge pull request #1 from pcrespov/enh/cleanup #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-wheel | |
on: | |
push: | |
jobs: | |
wheels: | |
name: Building wheel on ${{ matrix.python }} ${{ matrix.os }} ${{ matrix.arch }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [ubuntu-20.04] | |
python: [cp38] | |
arch: [x86_64] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Get dakota src | |
run: make get-dakota-src | |
- uses: pypa/[email protected] | |
env: | |
CIBW_BUILD: ${{ matrix.python }}*${{ matrix.arch }} | |
CIBW_BEFORE_ALL: "yum install -y gcc-gfortran lapack-devel boost-devel boost-filesystem boost-program-options boost-regex boost-serialization blas-devel python3-devel python3-numpy" | |
- name: Upload wheels | |
uses: actions/upload-artifact@v3 | |
with: | |
path: wheelhouse/*.whl |