8000 Build wheels · Guhaaa/llama-cpp-python@d74800d · GitHub
[go: up one dir, main page]

Skip to content

Commit d74800d

Browse files
committed
Build wheels
1 parent 0fd3204 commit d74800d

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/wheels.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build_wheels:
10+
name: Build wheels on ${{ matrix.os }}
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
os: [ubuntu-20.04, windows-2019, macOS-11]
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
19+
# Used to host cibuildwheel
20+
- uses: actions/setup-python@v3
21+
22+
- name: Install cibuildwheel
23+
run: python -m pip install cibuildwheel==2.12.1
24+
25+
- name: Build wheels
26+
run: python -m cibuildwheel --output-dir wheelhouse
27+
# to supply options, put them in 'env', like:
28+
# env:
29+
# CIBW_SOME_OPTION: value
30+
31+
- uses: actions/upload-artifact@v3
32+
with:
33+
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)
0