Skip to content

Commit cd9a6ac

Browse files
committed
build.ps1/appveyor.yml Install older cmake using chocolatey
Upgrade build.ps1 to use older version of cmake to see if that solves build issues.
1 parent a687558 commit cd9a6ac

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

appveyor.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
image: Visual Studio 2017
22

3-
version: 69.0.0-CI{build}
3+
version: 71.0.0-CI{build}
44

55
shallow_clone: true
66

77
# Start builds on tags only (GitHub and BitBucket)
88
skip_non_tags: true
99

10+
#Cholatey install specific cmake
11+
install:
12+
- cinst cmake.portable --version 3.12.1
13+
1014
# to run your custom scripts instead of automatic MSBuild
1115
build_script:
1216
- ps: .\build.ps1

build.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ param(
1414
[string] $CefBinaryDir = "../cefsource/chromium/src/cef/binary_distrib/",
1515

1616
[Parameter(Position = 3)]
17-
$CefVersion = "3.3538.1852.gcb937fc",
17+
$CefVersion = "3.3578.1860.g36610bd",
1818

1919
[ValidateSet("tar.bz2","zip","7z")]
2020
[Parameter()]
@@ -324,7 +324,8 @@ try
324324
rm CMakeCache.txt -ErrorAction:SilentlyContinue
325325
rm -r CMakeFiles -ErrorAction:SilentlyContinue
326326
Write-Diagnostic "Running cmake"
327-
cmake -LAH -G "$CmakeGenerator$CmakeArch" -DUSE_SANDBOX=Off -DCEF_RUNTIME_LIBRARY_FLAG=/MD
327+
&"$($env:ChocolateyInstall)\bin\cmake.exe" --version
328+
&"$($env:ChocolateyInstall)\bin\cmake.exe" -LAH -G "$CmakeGenerator$CmakeArch" -DUSE_SANDBOX=Off -DCEF_RUNTIME_LIBRARY_FLAG=/MD .
328329
popd
329330
$env:CEFSHARP_BUILD_IS_BOOTSTRAPPED = "$Toolchain$Platform"
330331
}

0 commit comments

Comments
 (0)