Clean up and remove dead code from .appveyor.yml
@@ -7,7 +7,6 @@ clone_folder: C:\deno
clone_depth: 1
environment:
- SCCACHE_IDLE_TIMEOUT: 0
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
DENO_BUILD_MODE: release
DENO_BUILD_PATH: $(APPVEYOR_BUILD_FOLDER)\target\release
@@ -18,13 +17,12 @@ environment:
CARGO_HOME: $(RUST_DIR)\cargo
RUSTUP_HOME: $(RUST_DIR)\rustup
RUST_BACKTRACE: full
- PYTHONPATH: third_party\python_packages
+ SCCACHE_IDLE_TIMEOUT: 0
SCCACHE_BUCKET: deno-sccache
AWS_ACCESS_KEY_ID: AKIAIVRN52PLDBP55LBQ
AWS_SECRET_ACCESS_KEY:
secure: 8ybpi/y5qE2baChsCBhNHmykng3FitELAtTYOiqZd0mw38i88dzdAX8ETNtBogMV
-
# Appveyor uses 7zip to pack cache directories. We use these options:
# -t7z : Use '7z' format.
# -snl : Store symlinks; doesn't work, but it prevents following symlinks.
@@ -44,19 +42,6 @@ environment:
if ($LastExitCode -ne 0) { throw "Failure. Exit code: $LastExitCode" }
}
- # Get-Tree lists all objects in a tree. It's different from Get-ChildItem
- # in that the latter recurses through symlinks, which is problematic.
- function Get-Tree([string[]] $Path, [switch] $Recurse, [switch] $Force) {
- function Get-SubDirs([string[]] $Path) {
- Get-ChildItem $Path -Force:$Force `
- -Attributes Directory+!ReparsePoint |
- foreach { $_.FullName } |
- foreach { $_; Get-SubDirs $_ }
- }
- if ($Recurse) { $Path += Get-SubDirs $Path }
- Get-ChildItem $Path -Force:$Force @args
- }
-
# `Delete-Tree` is a simple wrapper around Remove-Item. It doesn't set
# an error status if one of the paths to be deleted doesn't exist.
function Delete-Tree([string[]] $Path) {
@@ -71,12 +56,6 @@ environment:
}
}
- # Get-SaveCache returns $true if the cache will be saved at the end.
- function Get-SaveCache {
- -not $env:APPVEYOR_PULL_REQUEST_NUMBER -and
- -not ($env:APPVEYOR_CACHE_SKIP_SAVE -eq "true")
- }
-
for:
# Do no save the build cache for feature branches. TODO: Once we have multiple
# permanent branches, use a build matrix so each branch has it's own cache.
@@ -87,7 +66,6 @@ for:
APPVEYOR_CACHE_SKIP_SAVE: true
cache:
- # Rust stuff.
- $(RUST_DIR)
- $(APPVEYOR_BUILD_FOLDER)\target\release\
- $(APPVEYOR_BUILD_FOLDER)\prebuilt\win\
