From 77403f3b85d8a92b14685506230c075031690741 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 9 Feb 2020 16:49:28 +0200 Subject: [PATCH] - added handling of ZMusic to continuous integration --- .github/workflows/continuous_integration.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index d06263f31..14a139a41 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -51,12 +51,20 @@ jobs: if [[ ! -z "${{ matrix.config.deps_cmdline }}" ]]; then eval ${{ matrix.config.deps_cmdline }} fi + # Build and install ZMusic + mkdir build + cd build + git clone https://github.com/coelckers/ZMusic.git + cd ZMusic + git checkout 1.0.0 + cd .. + cmake -B zmusic_build -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=`pwd`/zmusic_install ${{ matrix.config.extra_options }} ZMusic + cmake --build zmusic_build --target install --parallel 3 - name: Configure shell: bash run: | - mkdir build - cmake -B build -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ${{ matrix.config.extra_options }} . + cmake -B build -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_PREFIX_PATH=`pwd`/build/zmusic_install ${{ matrix.config.extra_options }} . - name: Build shell: bash