add cuda12 option for aarch64 (#4949) #169
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@v4 | |
- name: Install sox | |
run: sudo apt-get install -y sox intel-mkl | |
- name: ccache | |
uses: hendrikmuhs/ccache-action@v1.2 | |
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 | |
- name: upload logs if failure | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: fail-logs | |
path: ${{ github.workspace }}/src/**/*testlog |