mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +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",
|
name: "Visual Studio 2022",
|
||||||
os: windows-2022,
|
os: windows-2022,
|
||||||
extra_options: "-A x64",
|
extra_options: "-A x64 -DCMAKE_TOOLCHAIN_FILE=build/vcpkg/scripts/buildsystems/vcpkg.cmake",
|
||||||
build_type: "Release"
|
build_type: "Release"
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
name: "Visual Studio 2019",
|
name: "Visual Studio 2019",
|
||||||
os: windows-2019,
|
os: windows-2019,
|
||||||
extra_options: "-A x64",
|
extra_options: "-A x64 -DCMAKE_TOOLCHAIN_FILE=build/vcpkg/scripts/buildsystems/vcpkg.cmake",
|
||||||
build_type: "Release"
|
build_type: "Release"
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
name: "Visual Studio 2019",
|
name: "Visual Studio 2019",
|
||||||
os: windows-2019,
|
os: windows-2019,
|
||||||
extra_options: "-A x64",
|
extra_options: "-A x64 -DCMAKE_TOOLCHAIN_FILE=build/vcpkg/scripts/buildsystems/vcpkg.cmake",
|
||||||
build_type: "Debug"
|
build_type: "Debug"
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
|
@ -91,6 +91,13 @@ jobs:
|
||||||
tar -xf "${ZMUSIC_PACKAGE}"
|
tar -xf "${ZMUSIC_PACKAGE}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Setup vcpkg
|
||||||
|
uses: lukka/run-vcpkg@v11
|
||||||
|
if: runner.os == 'Windows'
|
||||||
|
with:
|
||||||
|
vcpkgDirectory: '${{ github.workspace }}/build/vcpkg'
|
||||||
|
vcpkgGitCommitId: '65c013b9667ff1f58fb8724209227e5a2e761043'
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
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