From a192e660493b9efaa5268fd1598f7cbe1465238b Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 15 Mar 2021 11:07:48 +0200 Subject: [PATCH] - updated continuous integration workflow * added separate targets with static and dynamic loading of dependencies * specified continuous integration runners explicitly * replaced 32-bit Windows target with 64-bit debug configuration --- .github/workflows/continuous_integration.yml | 56 +++++++++++++------- 1 file changed, 37 insertions(+), 19 deletions(-) diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index 80569ae..10d1601 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -11,33 +11,49 @@ jobs: matrix: config: - { - name: "Visual Studio 64-bit", - os: windows-latest, - build_type: "Release", - extra_options: "-A x64" - } - - { - name: "Visual Studio 32-bit", - os: windows-latest, - build_type: "Release", - extra_options: "-A Win32 -DFORCE_INTERNAL_ZLIB=ON" - } - - { - name: "macOS Clang", - os: macos-latest, + name: "Visual Studio - Release", + os: windows-2019, build_type: "Release" } - { - name: "Linux GCC", - os: ubuntu-latest, + name: "Visual Studio - Debug", + os: windows-2019, + build_type: "Debug" + } + - { + name: "macOS Clang - Dynamic Deps", + os: macos-10.15, build_type: "Release" } - { - name: "Linux Clang", - os: ubuntu-latest, + name: "macOS Clang - Static Deps", + os: macos-10.15, + build_type: "Release", + extra_options: "-DDYN_FLUIDSYNTH=OFF -DDYN_MPG123=OFF -DDYN_SNDFILE=OFF" + } + - { + name: "Linux GCC - Dynamic Deps", + os: ubuntu-20.04, + build_type: "Release" + } + - { + name: "Linux GCC - Static Deps", + os: ubuntu-20.04, + build_type: "Release", + extra_options: "-DDYN_FLUIDSYNTH=OFF -DDYN_MPG123=OFF -DDYN_SNDFILE=OFF" + } + - { + name: "Linux Clang - Dynamic Deps", + os: ubuntu-20.04, build_type: "Release", extra_options: "-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++" } + - { + name: "Linux Clang - Static Deps", + os: ubuntu-20.04, + build_type: "Release", + extra_options: "-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DDYN_FLUIDSYNTH=OFF -DDYN_MPG123=OFF -DDYN_SNDFILE=OFF" + } steps: - uses: actions/checkout@v1 @@ -47,7 +63,9 @@ jobs: run: | if [[ "${{ runner.os }}" == 'Linux' ]]; then sudo apt update - sudo apt install libasound2-dev + sudo apt install libasound2-dev libfluidsynth-dev libmpg123-dev libsndfile1-dev + elif [[ "${{ runner.os }}" == 'macOS' ]]; then + brew install fluidsynth mpg123 libsndfile fi - name: Configure