-
Notifications
You must be signed in to change notification settings - Fork 45
38 lines (33 loc) · 860 Bytes
/
build_mkl.yml
File metadata and controls
38 lines (33 loc) · 860 Bytes
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
36
37
38
name: Build MKL Mac/Linux
on:
push:
branches:
- master
tags:
- '*'
pull_request:
branches:
- master
jobs:
build_wheels:
name: Build wheel on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# macos-latest now uses arm64 runners, but MKL is x86_64 only, so restrict to the macos-13 runners
# to get x86_64 architecture.
os: [ubuntu-latest, macos-13]
steps:
- uses: actions/checkout@master
- name: Build wheels
uses: pypa/cibuildwheel@v3.0
with:
package-dir: backend/mkl
config-file: backend/mkl/cibuildwheel.toml
output-dir: wheelhouse
- name: Upload artifacts to github
uses: actions/upload-artifact@v4
with:
name: wheels-mkl-${{ matrix.os }}
path: ./wheelhouse