Skip to content

Commit

Permalink
build.ps1/appveyor.yml Install older cmake using chocolatey
Browse files Browse the repository at this point in the history
Upgrade build.ps1 to use older version of cmake to see if that solves build issues.
  • Loading branch information
amaitland committed Dec 15, 2018
1 parent a687558 commit cd9a6ac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 5 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
image: Visual Studio 2017

version: 69.0.0-CI{build}
version: 71.0.0-CI{build}

shallow_clone: true

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

#Cholatey install specific cmake
install:
- cinst cmake.portable --version 3.12.1

# to run your custom scripts instead of automatic MSBuild
build_script:
- ps: .\build.ps1
Expand Down
5 changes: 3 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ param(
[string] $CefBinaryDir = "../cefsource/chromium/src/cef/binary_distrib/",

[Parameter(Position = 3)]
$CefVersion = "3.3538.1852.gcb937fc",
$CefVersion = "3.3578.1860.g36610bd",

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

0 comments on commit cd9a6ac

Please sign in to comment.