Skip to content

Commit 5ef5526

Browse files
committed
Merge branch 'update_windows_build_deps' into 'master'
Use 2026-01-20 vcpkg deps for windows Closes #8918 and #8374 See merge request OpenMW/openmw!5120
2 parents 3ac4a74 + 7122c0b commit 5ef5526

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

.github/workflows/windows.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Download prebuilt vcpkg packages
5050
working-directory: ${{ github.workspace }}/deps
5151
run: |
52-
$MANIFEST = "vcpkg-x64-${{ inputs.msvc }}-${{ inputs.vcpkg-deps-tag }}.txt"
52+
$MANIFEST = "vcpkg-x64-windows-${{ inputs.msvc }}-${{ inputs.vcpkg-deps-tag }}-manifest.txt"
5353
curl --fail --retry 3 -L -o "$MANIFEST" "https://gitlab.com/OpenMW/openmw-deps/-/raw/main/windows/$MANIFEST"
5454
$lines = Get-Content "$MANIFEST"
5555
$URL = $lines[0]
@@ -65,7 +65,7 @@ jobs:
6565
6666
- name: Extract archived prebuilt vcpkg packages
6767
working-directory: ${{ github.workspace }}/deps
68-
run: 7z x -y -ovcpkg-x64-${{ inputs.msvc }}-${{ inputs.vcpkg-deps-tag }} $env:archive
68+
run: 7z x -y -ovcpkg-x64-windows-${{ inputs.msvc }}-${{ inputs.vcpkg-deps-tag }} $env:archive
6969

7070
- name: Cache Qt
7171
id: qt-cache
@@ -98,12 +98,12 @@ jobs:
9898
-B ${{ github.workspace }}/build
9999
-G Ninja
100100
-D CMAKE_BUILD_TYPE=${{ inputs.build-type }}
101-
-D CMAKE_TOOLCHAIN_FILE='${{ github.workspace }}/deps/vcpkg-x64-${{ inputs.msvc }}-${{ inputs.vcpkg-deps-tag }}/scripts/buildsystems/vcpkg.cmake'
101+
-D CMAKE_TOOLCHAIN_FILE='${{ github.workspace }}/deps/vcpkg-x64-windows-${{ inputs.msvc }}-${{ inputs.vcpkg-deps-tag }}/scripts/buildsystems/vcpkg.cmake'
102102
-D CMAKE_PREFIX_PATH='${{ github.workspace }}/deps/Qt/6.6.3/msvc2019_64'
103103
${{ inputs.package && '-D CMAKE_CXX_FLAGS_RELEASE="/O2 /Ob2 /DNDEBUG /Zi"' || '' }}
104104
${{ inputs.package && '-D "CMAKE_EXE_LINKER_FLAGS_RELEASE=/DEBUG /INCREMENTAL:NO"' || '' }}
105-
-D LuaJit_INCLUDE_DIR='${{ github.workspace }}/deps/vcpkg-x64-${{ inputs.msvc }}-${{ inputs.vcpkg-deps-tag }}/installed/x64-windows/include/luajit'
106-
-D LuaJit_LIBRARY='${{ github.workspace }}/deps/vcpkg-x64-${{ inputs.msvc }}-${{ inputs.vcpkg-deps-tag }}/installed/x64-windows/lib/lua51.lib'
105+
-D LuaJit_INCLUDE_DIR='${{ github.workspace }}/deps/vcpkg-x64-windows-${{ inputs.msvc }}-${{ inputs.vcpkg-deps-tag }}/installed/x64-windows/include/luajit'
106+
-D LuaJit_LIBRARY='${{ github.workspace }}/deps/vcpkg-x64-windows-${{ inputs.msvc }}-${{ inputs.vcpkg-deps-tag }}/installed/x64-windows/lib/lua51.lib'
107107
-D BUILD_BENCHMARKS=${{ ! inputs.package }}
108108
-D BUILD_COMPONENTS_TESTS=${{ ! inputs.package }}
109109
-D BUILD_OPENMW_TESTS=${{ ! inputs.package }}
@@ -118,9 +118,9 @@ jobs:
118118

119119
- name: Copy missing DLLs
120120
run: |
121-
cp ${{ github.workspace }}/deps/vcpkg-x64-${{ inputs.msvc }}-${{ inputs.vcpkg-deps-tag }}/installed/x64-windows/bin/Release/MyGUIEngine.dll ${{ github.workspace }}/build
122-
cp -Filter *.dll -Recurse ${{ github.workspace }}/deps/vcpkg-x64-${{ inputs.msvc }}-${{ inputs.vcpkg-deps-tag }}/installed/x64-windows/bin/osgPlugins-3.6.5 ${{ github.workspace }}/build
123-
cp ${{ github.workspace }}/deps/vcpkg-x64-${{ inputs.msvc }}-${{ inputs.vcpkg-deps-tag }}/installed/x64-windows/bin/*.dll ${{ github.workspace }}/build
121+
cp ${{ github.workspace }}/deps/vcpkg-x64-windows-${{ inputs.msvc }}-${{ inputs.vcpkg-deps-tag }}/installed/x64-windows/bin/Release/MyGUIEngine.dll ${{ github.workspace }}/build
122+
cp -Filter *.dll -Recurse ${{ github.workspace }}/deps/vcpkg-x64-windows-${{ inputs.msvc }}-${{ inputs.vcpkg-deps-tag }}/installed/x64-windows/bin/osgPlugins-3.6.5 ${{ github.workspace }}/build
123+
cp ${{ github.workspace }}/deps/vcpkg-x64-windows-${{ inputs.msvc }}-${{ inputs.vcpkg-deps-tag }}/installed/x64-windows/bin/*.dll ${{ github.workspace }}/build
124124
125125
- name: Copy Qt DLLs
126126
working-directory: ${{ github.workspace }}/deps/Qt/6.6.3/msvc2019_64

CI/before_script.msvc.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ download() {
248248
shift
249249

250250
if ! [ -f $FILE ]; then
251-
printf " Downloading $FILE... "
251+
printf " Downloading $FILE from $URL... "
252252

253253
if [ -z $VERBOSE ]; then
254254
RET=0
@@ -553,10 +553,10 @@ source "$(dirname -- "${BASH_SOURCE[0]}")/deps_versions.msvc.sh"
553553
# versions that don't affect the CI cache can go here
554554
AQT_VERSION='v3.1.15'
555555

556-
VCPKG_PATH="vcpkg-x64-${VS_VERSION:?}-${VCPKG_TAG:?}"
557-
VCPKG_PDB_PATH="vcpkg-x64-${VS_VERSION:?}-pdb-${VCPKG_TAG:?}"
558-
VCPKG_MANIFEST="${VCPKG_PATH:?}.txt"
559-
VCPKG_PDB_MANIFEST="${VCPKG_PDB_PATH:?}.txt"
556+
VCPKG_PATH="vcpkg-x64-windows-${VS_VERSION:?}-${VCPKG_TAG:?}"
557+
VCPKG_PDB_PATH="vcpkg-x64-windows-${VS_VERSION:?}-pdb-${VCPKG_TAG:?}"
558+
VCPKG_MANIFEST="${VCPKG_PATH:?}-manifest.txt"
559+
VCPKG_PDB_MANIFEST="${VCPKG_PDB_PATH:?}-manifest.txt"
560560

561561
echo
562562
echo "==================================="
@@ -856,13 +856,13 @@ if [ -n "$ACTIVATE_MSVC" ]; then
856856
echo "vswhere was unable to find MSVC $MSVC_DISPLAY_YEAR"
857857
wrappedExit 1
858858
fi
859-
859+
860860
echo "@\"${MSVC_INSTALLATION_PATH}\Common7\Tools\VsDevCmd.bat\" -no_logo -arch=$([ $BITS -eq 64 ] && echo "amd64" || echo "x86") -host_arch=$([ $(uname -m) == 'x86_64' ] && echo "amd64" || echo "x86")" > ActivateMSVC.bat
861-
861+
862862
cp "../CI/activate_msvc.sh" .
863863
sed -i "s/\$MSVC_DISPLAY_YEAR/$MSVC_DISPLAY_YEAR/g" activate_msvc.sh
864864
source ./activate_msvc.sh
865-
865+
866866
cp "../CI/ActivateMSVC.ps1" .
867867
sed -i "s/\$MSVC_DISPLAY_YEAR/$MSVC_DISPLAY_YEAR/g" ActivateMSVC.ps1
868868

CI/deps_versions.msvc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
QT_VER='6.6.3'
2-
VCPKG_TAG="2025-07-23"
2+
VCPKG_TAG='2026-01-20'

CI/github.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VCPKG_DEPS_TAG=2025-07-23
1+
VCPKG_DEPS_TAG=2026-01-20

0 commit comments

Comments
 (0)