diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-16 01:50:51 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-16 01:50:51 +0300 |
commit | e01000b5040a8883569fd6d6ff1050752bf725d5 (patch) | |
tree | 19c81803b50e9ffb1d26a32052a6e423bb6116ea | |
parent | AppVeyor: ditch PowerShell (diff) | |
download | windows-env-e01000b5040a8883569fd6d6ff1050752bf725d5.tar.gz windows-env-e01000b5040a8883569fd6d6ff1050752bf725d5.zip |
AppVeyor: package the artifacts
-rw-r--r-- | appveyor.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml index f8dfc42..eb6cffb 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,6 +2,7 @@ version: '{build}' environment: STACK_ROOT: C:\sr + install_dir: C:\Projects\install\windows-env platform: - i386 @@ -12,4 +13,8 @@ before_build: - 7z.exe x "-o%STACK_ROOT%" C:\stack.zip build_script: - - '"%STACK_ROOT%\stack.exe" build --install-ghc --arch "%PLATFORM%"' + - '"%STACK_ROOT%\stack.exe" build --install-ghc --copy-bins --local-bin-path "%install_dir%" --arch "%PLATFORM%"' + +after_build: + - 7z.exe a "%APPVEYOR_PROJECT_NAME%-%PLATFORM%.zip" "%install_dir%" + - appveyor.exe PushArtifact "%APPVEYOR_PROJECT_NAME%-%PLATFORM%.zip" |