mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add vcpkg.json (#15863)
This commit is contained in:
parent
0695541bf5
commit
2bb7ed208c
2 changed files with 31 additions and 8 deletions
10
.github/workflows/windows.yml
vendored
10
.github/workflows/windows.yml
vendored
|
@ -71,9 +71,7 @@ jobs:
|
||||||
name: VS 2019 ${{ matrix.config.arch }}-${{ matrix.type }}
|
name: VS 2019 ${{ matrix.config.arch }}-${{ matrix.type }}
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
env:
|
env:
|
||||||
VCPKG_VERSION: d5ec528843d29e3a52d745a64b469f810b2cedbf
|
VCPKG_DEFAULT_TRIPLET: ${{matrix.config.vcpkg_triplet}}
|
||||||
# 2025.02.14
|
|
||||||
vcpkg_packages: zlib zstd curl[winssl] openal-soft libvorbis libogg libjpeg-turbo sqlite3 freetype luajit gmp jsoncpp sdl2
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -97,13 +95,9 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Restore from cache and run vcpkg
|
- name: Restore from cache and run vcpkg
|
||||||
uses: lukka/run-vcpkg@v7
|
uses: lukka/run-vcpkg@v11
|
||||||
with:
|
with:
|
||||||
vcpkgArguments: ${{env.vcpkg_packages}}
|
|
||||||
vcpkgDirectory: '${{ github.workspace }}\vcpkg'
|
vcpkgDirectory: '${{ github.workspace }}\vcpkg'
|
||||||
appendedCacheKey: ${{ matrix.config.vcpkg_triplet }}
|
|
||||||
vcpkgGitCommitId: ${{ env.VCPKG_VERSION }}
|
|
||||||
vcpkgTriplet: ${{ matrix.config.vcpkg_triplet }}
|
|
||||||
|
|
||||||
- name: CMake
|
- name: CMake
|
||||||
# Note: See #15976 for why CMAKE_POLICY_VERSION_MINIMUM=3.5 is set.
|
# Note: See #15976 for why CMAKE_POLICY_VERSION_MINIMUM=3.5 is set.
|
||||||
|
|
29
vcpkg.json
Normal file
29
vcpkg.json
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
"builtin-baseline": "d5ec528843d29e3a52d745a64b469f810b2cedbf",
|
||||||
|
"dependencies": [
|
||||||
|
"zlib",
|
||||||
|
"zstd",
|
||||||
|
{
|
||||||
|
"name": "curl",
|
||||||
|
"features": [
|
||||||
|
"winssl"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"openal-soft",
|
||||||
|
"libvorbis",
|
||||||
|
"libogg",
|
||||||
|
"libjpeg-turbo",
|
||||||
|
"sqlite3",
|
||||||
|
"freetype",
|
||||||
|
"luajit",
|
||||||
|
"gmp",
|
||||||
|
"jsoncpp",
|
||||||
|
{
|
||||||
|
"name": "gettext",
|
||||||
|
"features": [
|
||||||
|
"tools"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"sdl2"
|
||||||
|
]
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue