Skip to content

Commit 877d72a

Browse files
committed
fix(ci): guard vcpkg clone if exists, disable GLFW Wayland on Linux
1 parent 5b143cb commit 877d72a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ jobs:
6262
- name: Bootstrap vcpkg (Windows)
6363
if: runner.os == 'Windows'
6464
run: |
65-
git clone --depth=1 https://github.com/microsoft/vcpkg.git C:/vcpkg
65+
if [ ! -d "C:/vcpkg/.git" ]; then
66+
git clone --depth=1 https://github.com/microsoft/vcpkg.git C:/vcpkg
67+
fi
6668
C:/vcpkg/bootstrap-vcpkg.bat -disableMetrics
6769
shell: bash
6870

@@ -99,6 +101,7 @@ jobs:
99101
-DGLFW_BUILD_DOCS=OFF \
100102
-DGLFW_BUILD_TESTS=OFF \
101103
-DGLFW_BUILD_EXAMPLES=OFF \
104+
-DGLFW_BUILD_WAYLAND=OFF \
102105
-DCMAKE_BUILD_TYPE=Release
103106
cmake --build glfw-build
104107
sudo cmake --install glfw-build

0 commit comments

Comments
 (0)