test-wheel.yaml (1289B)
1 name: test-wheel 2 3 on: 4 push: 5 branches: 6 - test-wheel 7 8 workflow_dispatch: 9 10 schedule: 11 # minute (0-59) 12 # hour (0-23) 13 # day of the month (1-31) 14 # month (1-12) 15 # day of the week (0-6) 16 # nightly build at 23:50 UTC time every day 17 - cron: "50 23 * * *" 18 19 concurrency: 20 group: test-wheel-${{ github.ref }} 21 cancel-in-progress: true 22 23 permissions: 24 contents: read 25 26 27 jobs: 28 test_wheel: 29 runs-on: ${{ matrix.os }} 30 name: ${{ matrix.os }} 31 strategy: 32 fail-fast: false 33 matrix: 34 os: [windows-latest, macos-latest, ubuntu-latest] 35 python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] 36 37 steps: 38 - uses: actions/checkout@v2 39 with: 40 fetch-depth: 0 41 42 - name: Setup Python 43 uses: actions/setup-python@v4 44 with: 45 python-version: ${{ matrix.python-version }} 46 47 - name: Install kaldi-native-fbank 48 shell: bash 49 run: | 50 python3 -m pip install --upgrade pip numpy 51 python3 -m pip install kaldi-native-fbank 52 53 - name: Display version 54 shell: bash 55 run: | 56 python3 -c "import kaldi_native_fbank; print(kaldi_native_fbank.__file__)" 57 python3 -c "import kaldi_native_fbank; print(kaldi_native_fbank.__version__)"