- specify continuous integration runners explicitly

this helps to avoid build issues when virtual environments are different between forks of the same repository
e.g., ubuntu-latest means 20.04 in upstream while it still points to 18.04 in a fork
This commit is contained in:
alexey.lysiuk 2021-02-02 13:05:23 +02:00
parent 3fe8c4e143
commit d71b03f75e

View file

@ -12,52 +12,52 @@ jobs:
config:
- {
name: "Visual Studio 64-bit",
os: windows-latest,
os: windows-2019,
extra_options: "-A x64",
build_type: "Release"
}
- {
name: "Visual Studio 64-bit",
os: windows-latest,
os: windows-2019,
extra_options: "-A x64",
build_type: "Debug"
}
- {
name: "macOS",
os: macos-latest,
os: macos-10.15,
extra_options: "-DDYN_FLUIDSYNTH=OFF -DDYN_OPENAL=OFF -DDYN_SNDFILE=OFF -DDYN_MPG123=OFF",
deps_cmdline: "brew install fluidsynth mpg123 libsndfile",
build_type: "Release"
}
- {
name: "macOS",
os: macos-latest,
os: macos-10.15,
build_type: "Debug"
}
- {
name: "Linux GCC 7",
os: ubuntu-latest,
os: ubuntu-20.04,
extra_options: "-DCMAKE_C_COMPILER=/usr/bin/gcc-7 -DCMAKE_CXX_COMPILER=/usr/bin/g++-7",
deps_cmdline: "sudo apt update && sudo apt install libsdl2-dev libgtk2.0-dev",
build_type: "RelWithDebInfo"
}
- {
name: "Linux GCC 9",
os: ubuntu-latest,
os: ubuntu-20.04,
extra_options: "-DCMAKE_C_COMPILER=/usr/bin/gcc-9 -DCMAKE_CXX_COMPILER=/usr/bin/g++-9",
deps_cmdline: "sudo apt update && sudo apt install libsdl2-dev libgtk-3-dev",
build_type: "Debug"
}
- {
name: "Linux Clang 6",
os: ubuntu-latest,
os: ubuntu-20.04,
extra_options: "-DCMAKE_C_COMPILER=clang-6.0 -DCMAKE_CXX_COMPILER=clang++-6.0",
deps_cmdline: "sudo apt update && sudo apt install clang-6.0 libsdl2-dev",
build_type: "Debug"
}
- {
name: "Linux Clang 10",
os: ubuntu-latest,
os: ubuntu-20.04,
extra_options: "-DCMAKE_C_COMPILER=clang-10 -DCMAKE_CXX_COMPILER=clang++-10 \
-DDYN_FLUIDSYNTH=OFF -DDYN_OPENAL=OFF -DDYN_SNDFILE=OFF -DDYN_MPG123=OFF",
deps_cmdline: "sudo apt update && sudo apt install libsdl2-dev libopenal-dev libfluidsynth-dev libmpg123-dev libsndfile1-dev",