Update smoke tests: input_sample.wav and distinct output filenames #348
This file contains hidden or 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: ctests | |
| on: [push] | |
| jobs: | |
| run_ctests: | |
| name: Running ctests | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-22.04] | |
| python-version: ["3.10"] | |
| steps: | |
| - name: Checkout radae code | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: drowe67/radae | |
| path: ${{github.workspace}}/radae | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install system packages | |
| shell: bash | |
| run: | | |
| sudo apt update | |
| sudo apt install octave octave-common octave-signal sox cmake git | |
| - name: Install python packages | |
| shell: bash | |
| run: | | |
| pip3 install torch numpy matplotlib tqdm | |
| - name: build radae | |
| shell: bash | |
| working-directory: ${{github.workspace}}/radae | |
| run: | | |
| mkdir build | |
| cd build | |
| cmake .. | |
| make -j$(nproc) | |
| - name: run ctests | |
| shell: bash | |
| working-directory: ${{github.workspace}}/radae/build | |
| run: | | |
| ctest -j1 -V --output-on-failure |