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