-
Notifications
You must be signed in to change notification settings - Fork 4
55 lines (47 loc) · 1.27 KB
/
blis-0.7.9.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# See https://github.com/explosion/cython-blis/blob/master/azure-pipelines.yml
# NOTE: thinc needs specific versions of blis
name: blis-0.7.9
on: [workflow_dispatch]
env:
VERSION: 0.7.9
CIBW_BUILD: nogil39-*
CIBW_ARCHS_LINUX: auto
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_ARCHS_WINDOWS: AMD64
CIBW_BUILD_VERBOSITY: 2
CIBW_BEFORE_BUILD: |
pip install -r requirements.txt
CIBW_ENVIRONMENT_WINDOWS: >
PATH="C:\Program Files\LLVM\bin;$PATH"
AR="llvm-ar"
AS="llvm-as"
CC="clang"
RANLIB=echo
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019, macos-12]
steps:
- uses: actions/checkout@v3
with:
repository: 'explosion/cython-blis'
ref: v${{ env.VERSION }}
submodules: recursive
- name: Preinstall (Windows)
if: runner.os == 'Windows'
run: choco install llvm
- name: Build wheels
uses: colesbury/cibuildwheel@nogil
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
upload_wheel:
needs: [build_wheels]
uses: ./.github/workflows/upload-wheel.yml
with:
package: blis
secrets: inherit