First commit
This commit is contained in:
36
liblinear-2.49/.github/workflows/wheel.yml
vendored
Executable file
36
liblinear-2.49/.github/workflows/wheel.yml
vendored
Executable file
@@ -0,0 +1,36 @@
|
||||
name: Build wheels
|
||||
|
||||
on:
|
||||
# on new tag
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
# manually trigger
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build_wheels:
|
||||
name: Build wheels on ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [windows-2022, macos-13]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v2.10.2
|
||||
env:
|
||||
# don't build for PyPython and windows 32-bit
|
||||
CIBW_SKIP: pp* *win32*
|
||||
with:
|
||||
package-dir: ./python
|
||||
output-dir: ./python/wheelhouse
|
||||
|
||||
- name: Upload a Build Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wheels-${{ matrix.os }}
|
||||
path: ./python/wheelhouse
|
Reference in New Issue
Block a user