Skip to content

Commit e132e0e

Browse files
authored
Merge pull request #3213 from lilyinstarlight/fix/vcpkg-root
Build - update vcpkg versions and fix the VCPKG_ROOT variable that GHA now sets
2 parents fd8298a + 87a054a commit e132e0e

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@ jobs:
3232
# Get the code
3333
- uses: actions/checkout@v2
3434

35-
# hardcode cmake version
36-
- name: Setup cmake
37-
uses: jwlawson/actions-setup-cmake@v1.12
38-
with:
39-
cmake-version: '3.22.3'
40-
4135
# Install Ruby for the windows build
4236
- uses: ruby/setup-ruby@v1
4337
id: ruby-inst

app/linux-pre-vcpkg.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ cd "${SCRIPT_DIR}"
3030
# Build vcpkg
3131
if [ ! -d "vcpkg" ]; then
3232
echo "Cloning vcpkg"
33-
git clone --depth 1 --branch "${VCPKG_BRANCH:-2022.06.16.1}" https://github.com/microsoft/vcpkg.git vcpkg
33+
git clone --depth 1 --branch "${VCPKG_BRANCH:-2022.08.15}" https://github.com/microsoft/vcpkg.git vcpkg
3434
fi
3535

36+
export VCPKG_ROOT="$SCRIPT_DIR/vcpkg"
37+
3638
if [ ! -f "vcpkg/vcpkg" ]; then
3739
echo "Building vcpkg"
3840
cd vcpkg

app/mac-pre-vcpkg.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ cd "${SCRIPT_DIR}"
3030
# Build vcpkg
3131
if [ ! -d "vcpkg" ]; then
3232
echo "Cloning vcpkg"
33-
git clone --depth 1 --branch 2022.06.16.1 https://github.com/microsoft/vcpkg.git vcpkg
33+
git clone --depth 1 --branch 2022.08.15 https://github.com/microsoft/vcpkg.git vcpkg
3434
fi
3535

36+
export VCPKG_ROOT="$SCRIPT_DIR/vcpkg"
37+
3638
if [ ! -f "vcpkg/vcpkg" ]; then
3739
echo "Building vcpkg"
3840
cd vcpkg

app/win-pre-vcpkg.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ if not exist "vcpkg\" (
88
git clone --depth 1 --branch 2022.08.15 https://github.com/microsoft/vcpkg.git vcpkg
99
)
1010

11+
set VCPKG_ROOT=%~dp0/vcpkg
12+
1113
if not exist "vcpkg\vcpkg.exe" (
1214
cd vcpkg
1315
echo Building vcpkg

0 commit comments

Comments
 (0)