adapted unit tests to NEW_HOST_WRAPPER #71
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: Linux CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ "master", "devel" ] | |
pull_request: | |
branches: [ "master", "devel" ] | |
env: | |
BUILD_TYPE: RelWithDebInfo | |
INSTALL_LOCATION: ${{github.workspace}}/SonivoxV3 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Linux CI | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Preparation | |
run: sudo apt install libgtest-dev | |
- name: Configure CMake | |
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{env.INSTALL_LOCATION}} | |
- name: Build | |
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} | |
- name: Test | |
working-directory: ${{github.workspace}}/build | |
run: ctest -C ${{env.BUILD_TYPE}} | |
- name: Install | |
run: cmake --install ${{github.workspace}}/build | |
- name: Create Archive | |
run: | | |
cd ${{github.workspace}} | |
tar cvf SonivoxV3.tar SonivoxV3 | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: SonivoxV3-linux | |
path: SonivoxV3.tar | |
retention-days: 90 | |
overwrite: true |