Skip to content

GMM-HMM: Simplifiy / Explicitly refer to literature for implementation #428

GMM-HMM: Simplifiy / Explicitly refer to literature for implementation

GMM-HMM: Simplifiy / Explicitly refer to literature for implementation #428

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Style
run: |
shopt -s globstar &&
! grep -E '.{80}' **/*.py
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
cibw-build: ['cp38-*', 'cp39-*', 'cp310-*', 'cp311-*', 'cp312-*']
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
if: runner.os == 'Linux'
- uses: pypa/cibuildwheel@v2.16.5
env:
CIBW_BUILD: ${{ matrix.cibw-build }}
CIBW_SKIP: '*-musllinux_*'
CIBW_TEST_SKIP: '*-macosx_universal2:arm64'
CIBW_ARCHS_LINUX: 'x86_64 aarch64'
CIBW_ARCHS_MACOS: 'x86_64 universal2'
CIBW_ARCHS_WINDOWS: 'AMD64'
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: python -I -mpytest --pyargs hmmlearn.tests {project}/doc
- uses: actions/upload-artifact@v3
with:
name: wheels
path: wheelhouse/*.whl
if: ${{ always() }}