mirror of
https://github.com/ZDoom/ZMusic.git
synced 2025-02-17 09:02:23 +00:00
- 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
This commit is contained in:
parent
f24498950d
commit
a192e66049
1 changed files with 37 additions and 19 deletions
56
.github/workflows/continuous_integration.yml
vendored
56
.github/workflows/continuous_integration.yml
vendored
|
@ -11,33 +11,49 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
config:
|
||||||
- {
|
- {
|
||||||
name: "Visual Studio 64-bit",
|
name: "Visual Studio - Release",
|
||||||
os: windows-latest,
|
os: windows-2019,
|
||||||
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,
|
|
||||||
build_type: "Release"
|
build_type: "Release"
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
name: "Linux GCC",
|
name: "Visual Studio - Debug",
|
||||||
os: ubuntu-latest,
|
os: windows-2019,
|
||||||
|
build_type: "Debug"
|
||||||
|
}
|
||||||
|
- {
|
||||||
|
name: "macOS Clang - Dynamic Deps",
|
||||||
|
os: macos-10.15,
|
||||||
build_type: "Release"
|
build_type: "Release"
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
name: "Linux Clang",
|
name: "macOS Clang - Static Deps",
|
||||||
os: ubuntu-latest,
|
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",
|
build_type: "Release",
|
||||||
extra_options: "-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++"
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
@ -47,7 +63,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ runner.os }}" == 'Linux' ]]; then
|
if [[ "${{ runner.os }}" == 'Linux' ]]; then
|
||||||
sudo apt update
|
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
|
fi
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
|
|
Loading…
Reference in a new issue