Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 13 additions & 19 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,26 @@
name: Build

on: [push, pull_request]

on: [push]

jobs:
build_wheels:
name: Build wheels on ubuntu-20.04
runs-on: ubuntu-20.04
# strategy:
# matrix:
# os: [ubuntu-20.04, windows-2019, macos-10.15]
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macOS-10.15]

steps:
# - run: |
# sudo apt install graphviz
# wget http://www.openfst.org/twiki/pub/FST/FstDownload/openfst-1.8.1.tar.gz
# tar -xzvf openfst-1.8.1.tar.gz
# cd openfst-1.8.1/
# ./configure --enable-far=true
# make -j4
# sudo make install
# echo "export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib" >> ~/.bashrc
# source ~/.bashrc

- uses: actions/checkout@v2

# Used to host cibuildwheel
- uses: actions/setup-python@v2

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.0.0a2

- name: Build wheels
uses: pypa/cibuildwheel@v1.11.1.post1
run: python -m cibuildwheel --output-dir wheelhouse
# to supply options, put them in 'env', like:
# env:
# CIBW_SOME_OPTION: value
Expand Down