This repository was archived by the owner on Jun 19, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
This repository was archived by the owner on Jun 19, 2025. It is now read-only.
Add CTC decoder builds for more Python versions #3596
Copy link
Copy link
Open
Description
We hard-coded the action call with one version
DeepSpeech/.github/workflows/macOS-amd64.yml
Lines 54 to 86 in 5f566f4
build-ctc-decoder: | |
name: "Build CTC decoder Python package for testing" | |
needs: [ swig_macOS ] | |
runs-on: macos-10.15 | |
if: ${{ github.event_name == 'pull_request' }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/install-python-upstream | |
with: | |
version: 3.6.8 | |
- run: | | |
python --version | |
pip --version | |
- uses: actions/download-artifact@v2 | |
with: | |
name: "swig_macOS" | |
path: ${{ github.workspace }}/native_client/ds-swig/ | |
- run: | | |
ls -hal ${{ github.workspace }}/native_client/ds-swig/bin | |
ln -s ds-swig ${{ github.workspace }}/native_client/ds-swig/bin/swig | |
chmod +x ${{ github.workspace }}/native_client/ds-swig/bin/ds-swig ${{ github.workspace }}/native_client/ds-swig/bin/swig | |
- run: | | |
make -C native_client/ctcdecode/ \ | |
NUM_PROCESSES=$(sysctl hw.ncpu |cut -d' ' -f2) \ | |
bindings | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: "ds_ctcdecoder-test.whl" | |
path: ${{ github.workspace }}/native_client/ctcdecode/dist/*.whl | |
- run: | | |
make -C native_client/ctcdecode clean-keep-third-party |
- use a matrix for all versions we can
- add new
train-test-model
jobs using a matrix as well to ensure test coverage