Merge pull request #4879 from csukuangfj/fix-lattice-simple-decoder #97
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: C/C++ CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
CCACHE_DIR: /home/runner/work/kaldi/kaldi/.ccache | |
CXX: "ccache g++" | |
CC: "ccache gcc" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install sox | |
run: sudo apt-get install -y sox intel-mkl | |
- name: Install python2 | |
run: sudo apt-get install -y python2 | |
- name: ccache | |
uses: hendrikmuhs/[email protected] | |
with: | |
verbose: 1 | |
max-size: 3G | |
- name: make tools | |
run: cd tools && make -j3 | |
- name: ccache stats | |
run: ccache -s | |
- name: configure | |
run: cd src && ./configure --shared | |
- name: make depend | |
run: cd src && make clean && make depend | |
- name: make | |
run: cd src && make -j 3 | |
- name: make test | |
run: cd src && make test |