-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (31 loc) · 1.11 KB
/
build-wheels.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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