name: train librispeech on: push: branches: - master pull_request: branches: - master workflow_dispatch: concurrency: group: train-librispeech-${{ github.ref }} cancel-in-progress: true jobs: train-librispeech: name: py${{ matrix.python-version }} torch${{ matrix.torch-version }} v${{ matrix.version }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: [ubuntu-latest] python-version: ["3.8", "3.9", "3.10"] torch-version: ["1.13.0", "2.0.0", "2.0.1", "2.1.0", "2.1.1", "2.1.2"] k2-version: ["1.24.4.dev20231220"] kaldifeat-version: ["1.25.3.dev20231221"] version: ["1.0"] steps: # refer to https://github.com/actions/checkout - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Free space shell: bash run: | df -h rm -rf /opt/hostedtoolcache df -h echo "pwd: $PWD" echo "github.workspace ${{ github.workspace }}" - name: Run the build process with Docker uses: addnab/docker-run-action@v3 with: image: ghcr.io/k2-fsa/icefall:cpu-py${{ matrix.python-version }}-torch${{ matrix.torch-version }}-v${{ matrix.version }} options: | --volume ${{ github.workspace }}/:/icefall shell: bash run: | ls -lh /icefall /icefall/.github/scripts/docker/run.sh