Skip to content

Commit

Permalink
Merge pull request #753 from mgreter/test/appveyor
Browse files Browse the repository at this point in the history
Add some files to cache for AppVeyor
  • Loading branch information
mgreter committed Dec 22, 2014
2 parents eb014f9 + 6729541 commit ccfcfd2
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ environment:
Config: Debug
ruby_version: "21-x64"

cache:
- x86_64-4.9.2-release-win32-seh-rt_v3-rev0.7z
- C:\Ruby21-x64\lib\ruby\gems\2.1.0
- C:\Ruby21-x64\bin

install:
- git clone https://github.com/mgreter/sassc.git --branch feature/build-dll-win-mingw
- git clone https://github.com/sass/sass-spec.git
Expand All @@ -22,13 +27,15 @@ install:
- gem install minitest
- ps: |
if ($env:Compiler -eq "mingw") {
# Install MinGW.
$url = "http://sourceforge.net/projects/mingw-w64/files/"
$url += "Toolchains%20targetting%20Win64/Personal%20Builds/"
$url += "mingw-builds/4.9.2/threads-win32/seh/"
$url += "x86_64-4.9.2-release-win32-seh-rt_v3-rev0.7z/download"
Invoke-WebRequest -UserAgent wget -Uri $url -OutFile mingw.7z
&7z x -oC:\ mingw.7z > $null
if (-Not (Test-Path "x86_64-4.9.2-release-win32-seh-rt_v3-rev0.7z")) {
# Install MinGW.
$url = "http://sourceforge.net/projects/mingw-w64/files/"
$url += "Toolchains%20targetting%20Win64/Personal%20Builds/"
$url += "mingw-builds/4.9.2/threads-win32/seh/"
$url += "x86_64-4.9.2-release-win32-seh-rt_v3-rev0.7z/download"
Invoke-WebRequest -UserAgent wget -Uri $url -OutFile x86_64-4.9.2-release-win32-seh-rt_v3-rev0.7z
}
&7z x -oC:\ x86_64-4.9.2-release-win32-seh-rt_v3-rev0.7z > $null
}
- set PATH=C:\mingw64\bin;%PATH%
- set CC=gcc
Expand Down

0 comments on commit ccfcfd2

Please sign in to comment.