Merge pull request #32 from AUDIY/Copyright_2026 #75
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: libsndfile-samples compile test | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install libsndfile dependencies | |
| run: | | |
| sudo apt install autoconf autogen automake build-essential libasound2-dev \ | |
| libflac-dev libogg-dev libtool libvorbis-dev libopus-dev libmp3lame-dev \ | |
| libmpg123-dev pkg-config python3 python-is-python3 | |
| - name: Install libsndfile | |
| run: | | |
| git clone https://github.com/libsndfile/libsndfile.git | |
| cd libsndfile | |
| autoreconf -vif | |
| ./configure --enable-werror | |
| make | |
| make check | |
| sudo make install | |
| - name: Compiler version | |
| run: | | |
| gcc --version | |
| - name: Compile samples | |
| run: | | |
| for file in `ls src`; do | |
| echo "gcc -Wall -Werror src/${file} -lsndfile -lm" | |
| gcc -Wall -Werror src/${file} -lsndfile -lm | |
| done |