From 37c4baf823a793f4b9f55e7df583b348ad42dae5 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Mon, 15 Aug 2022 17:17:58 +0800 Subject: [PATCH] Build CPU version for linux --- .github/workflows/build_conda_ubuntu_cpu.yml | 5 ++++- scripts/github_actions/generate_build_matrix.py | 8 +++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_conda_ubuntu_cpu.yml b/.github/workflows/build_conda_ubuntu_cpu.yml index 3f0692c..b19c3c2 100644 --- a/.github/workflows/build_conda_ubuntu_cpu.yml +++ b/.github/workflows/build_conda_ubuntu_cpu.yml @@ -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: | diff --git a/scripts/github_actions/generate_build_matrix.py b/scripts/github_actions/generate_build_matrix.py index 90e18cb..13b87e7 100755 --- a/scripts/github_actions/generate_build_matrix.py +++ b/scripts/github_actions/generate_build_matrix.py @@ -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 = []