Bump version to 0.7.1 #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build_conda_ubuntu | |
on: | |
push: | |
tags: | |
- '*' | |
branches: | |
- conda | |
concurrency: | |
group: build_conda_ubuntu-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build_conda_ubuntu: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-20.04] | |
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] | |
steps: | |
# refer to https://github.com/actions/checkout | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
python-version: ${{ matrix.python-version }} | |
channels: conda-forge | |
activate-environment: kaldialign | |
- name: Display Python version | |
shell: bash -l {0} | |
run: | | |
python3 -c "import sys; print(sys.version)" | |
which python3 | |
- name: Install conda dependencies | |
shell: bash -l {0} | |
run: | | |
conda install -y -q anaconda-client | |
conda install -y -q conda-build | |
conda install -y -q numpy | |
- name: Display conda info | |
shell: bash -l {0} | |
run: | | |
which conda | |
conda env list | |
conda info | |
nproc | |
- name: Build kaldialign | |
shell: bash -l {0} | |
env: | |
KALDIALIGN_CONDA_TOKEN: ${{ secrets.KALDIALIGN_CONDA_TOKEN }} | |
run: | | |
./scripts/build_conda.sh | |
- name: Display generated files | |
run: | | |
ls -lh /usr/share/miniconda/envs/kaldialign/conda-bld/linux-64 | |
- name: Upload generated files | |
uses: actions/upload-artifact@v2 | |
with: | |
name: python-${{ matrix.python-version }}-${{ matrix.os }} | |
path: /usr/share/miniconda/envs/kaldialign/conda-bld/linux-64/*.tar.bz2 |