Build CPU version for linux

This commit is contained in:
Fangjun Kuang 2022-08-15 17:17:58 +08:00
parent 2bd09f4b18
commit 37c4baf823
2 changed files with 11 additions and 2 deletions

View File

@ -20,6 +20,9 @@ name: build_conda_ubuntu_cpu
on:
push:
branches:
- master
- conda
tags:
- '*'
@ -90,7 +93,7 @@ jobs:
env:
KALDIFEAT_PYTHON_VERSION: ${{ matrix.python-version}}
KALDIFEAT_TORCH_VERSION: ${{ matrix.torch }}
KALDIFEAT_CONDA_TOKEN: ${{ secrets.KALDIFEAT_CONDA_TOKEN}}
# KALDIFEAT_CONDA_TOKEN: ${{ secrets.KALDIFEAT_CONDA_TOKEN}}
KALDIFEAT_IS_GITHUB_ACTIONS: 1
KALDIFEAT_IS_FOR_CONDA: 1
run: |

View File

@ -118,9 +118,15 @@ def generate_build_matrix(enable_cuda, for_windows, test_only_latest_torch):
if not for_windows
else ["11.3.1", "11.6.2"],
},
"1.12.1": {
"python-version": ["3.7", "3.8", "3.9", "3.10"],
"cuda": ["10.2", "11.3", "11.6"]
if not for_windows
else ["11.3.1", "11.6.2"],
},
}
if test_only_latest_torch:
latest = "1.12.0"
latest = "1.12.1"
matrix = {latest: matrix[latest]}
ans = []