Update Windows binaries and libsvm.jar for 3.34 release #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-12] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set MacOS compiler | |
if: runner.os == 'macOS' | |
run: | | |
brew install gcc@13; | |
echo "CXX=gcc-13" >> $GITHUB_ENV | |
- name: Build wheels | |
uses: pypa/cibuildwheel@v2.10.2 | |
env: | |
# don't build for PyPython and windows 32-bit | |
CIBW_SKIP: pp* *win32* | |
# force compiler on macOS | |
CXX: ${{ env.CXX }} | |
CC: ${{ env.CXX }} | |
with: | |
package-dir: ./python | |
output-dir: ./python/wheelhouse | |
- name: Upload a Build Artifact | |
uses: actions/upload-artifact@v3.0.0 | |
with: | |
path: ./python/wheelhouse |