CI smoke test for autoconf make install/uninstall targets #1011
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: autotools build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
PORTAUDIO_INSTALL_DIR: /home/runner/.local | |
# gcc environment variables: | |
C_INCLUDE_PATH: /home/runner/.local/include | |
LIBRARY_PATH: /home/runner/.local/lib | |
LD_PATH: /home/runner/.local/lib | |
jobs: | |
build-autotools: | |
runs-on: ubuntu-latest | |
name: Ubuntu | |
steps: | |
- uses: actions/checkout@v2 | |
- name: configure | |
run: ./configure --prefix=$PORTAUDIO_INSTALL_DIR | |
- name: make | |
run: make | |
- name: install | |
run: make install | |
- name: list install dirs | |
run: ls $PORTAUDIO_INSTALL_DIR $PORTAUDIO_INSTALL_DIR/include $PORTAUDIO_INSTALL_DIR/lib | |
- name: build patest_init.c to check install | |
run: gcc -o patest_init ./test/patest_init.c -lportaudio | |
- name: run patest_init | |
run: ./patest_init | |
- name: uninstall | |
run: make uninstall |