mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-14 08:30:40 +00:00
- added vcpkg support
This commit is contained in:
parent
73d1dc96fe
commit
01fbe0b0fb
2 changed files with 61 additions and 3 deletions
13
.github/workflows/continuous_integration.yml
vendored
13
.github/workflows/continuous_integration.yml
vendored
|
@ -13,19 +13,19 @@ jobs:
|
|||
- {
|
||||
name: "Visual Studio 2022",
|
||||
os: windows-2022,
|
||||
extra_options: "-A x64",
|
||||
extra_options: "-A x64 -DCMAKE_TOOLCHAIN_FILE=build/vcpkg/scripts/buildsystems/vcpkg.cmake",
|
||||
build_type: "Release"
|
||||
}
|
||||
- {
|
||||
name: "Visual Studio 2019",
|
||||
os: windows-2019,
|
||||
extra_options: "-A x64",
|
||||
extra_options: "-A x64 -DCMAKE_TOOLCHAIN_FILE=build/vcpkg/scripts/buildsystems/vcpkg.cmake",
|
||||
build_type: "Release"
|
||||
}
|
||||
- {
|
||||
name: "Visual Studio 2019",
|
||||
os: windows-2019,
|
||||
extra_options: "-A x64",
|
||||
extra_options: "-A x64 -DCMAKE_TOOLCHAIN_FILE=build/vcpkg/scripts/buildsystems/vcpkg.cmake",
|
||||
build_type: "Debug"
|
||||
}
|
||||
- {
|
||||
|
@ -90,6 +90,13 @@ jobs:
|
|||
wget -q "https://github.com/coelckers/gzdoom/releases/download/ci_deps/${ZMUSIC_PACKAGE}"
|
||||
tar -xf "${ZMUSIC_PACKAGE}"
|
||||
fi
|
||||
|
||||
- name: Setup vcpkg
|
||||
uses: lukka/run-vcpkg@v11
|
||||
if: runner.os == 'Windows'
|
||||
with:
|
||||
vcpkgDirectory: '${{ github.workspace }}/build/vcpkg'
|
||||
vcpkgGitCommitId: '65c013b9667ff1f58fb8724209227e5a2e761043'
|
||||
|
||||
- name: Configure
|
||||
shell: bash
|
||||
|
|
51
vcpkg.json
Normal file
51
vcpkg.json
Normal file
|
@ -0,0 +1,51 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
||||
"builtin-baseline": "65c013b9667ff1f58fb8724209227e5a2e761043",
|
||||
"features":
|
||||
{
|
||||
"vcpkg-libvpx":
|
||||
{
|
||||
"description": "Use libvpx provided by vcpkg on Windows",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "libvpx",
|
||||
"default-features": false,
|
||||
"platform": "windows & static & staticcrt"
|
||||
}
|
||||
]
|
||||
},
|
||||
"vcpkg-openal-soft":
|
||||
{
|
||||
"description": "Use openal-soft provided by vcpkg.",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "openal-soft",
|
||||
"default-features": false,
|
||||
"platform": "!windows | (windows & static & staticcrt)"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "zlib",
|
||||
"platform": "!windows | (windows & static & staticcrt)"
|
||||
},
|
||||
{
|
||||
"name": "bzip2",
|
||||
"platform": "!windows | (windows & static & staticcrt)"
|
||||
},
|
||||
{
|
||||
"name": "sdl2",
|
||||
"platform": "!windows & !osx"
|
||||
},
|
||||
{
|
||||
"name": "libvpx",
|
||||
"platform": "!windows"
|
||||
},
|
||||
{
|
||||
"name": "libwebp",
|
||||
"platform": "!windows | (windows & static & staticcrt)"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue