windows-x86.yaml (1430B)
1 name: windows-x86 2 3 on: 4 push: 5 branches: 6 - master 7 pull_request: 8 branches: 9 - master 10 11 concurrency: 12 group: windows-x86-${{ github.ref }} 13 cancel-in-progress: true 14 15 permissions: 16 contents: read 17 18 jobs: 19 windows_x86: 20 runs-on: ${{ matrix.os }} 21 name: ${{ matrix.vs-version }} 22 strategy: 23 fail-fast: false 24 matrix: 25 include: 26 - vs-version: vs2015 27 toolset-version: v140 28 os: windows-2019 29 30 - vs-version: vs2017 31 toolset-version: v141 32 os: windows-2019 33 34 - vs-version: vs2019 35 toolset-version: v142 36 os: windows-2022 37 38 - vs-version: vs2022 39 toolset-version: v143 40 os: windows-2022 41 42 steps: 43 - uses: actions/checkout@v2 44 with: 45 fetch-depth: 0 46 47 - name: Configure CMake 48 shell: bash 49 run: | 50 mkdir build 51 cd build 52 cmake -T ${{ matrix.toolset-version}},host=x64 -A Win32 -D CMAKE_BUILD_TYPE=Release -DKALDI_NATIVE_FBANK_BUILD_PYTHON=OFF .. 53 cat CMakeCache.txt 54 55 56 - name: Build kaldi-native-fbank for windows 57 shell: bash 58 run: | 59 cd build 60 cmake --build . --target ALL_BUILD --config Release 61 62 - name: Run tests for windows 63 shell: bash 64 run: | 65 cd build 66 67 ctest --verbose -C Release --output-on-failure -E py