Browse Source

Try to fix artifacts path in AppVeyor.

pull/563/head
triton 11 years ago
parent
commit
146ceecc5a
  1. 11
      appveyor.yml

11
appveyor.yml

@ -34,6 +34,7 @@ environment:
DEPS_PATH: '%APPVEYOR_BUILD_FOLDER%\deps' DEPS_PATH: '%APPVEYOR_BUILD_FOLDER%\deps'
LLVM_PATH: '%APPVEYOR_BUILD_FOLDER%\deps\llvm' LLVM_PATH: '%APPVEYOR_BUILD_FOLDER%\deps\llvm'
BUILD_PATH: '%APPVEYOR_BUILD_FOLDER%\build\%VS_VERSION%' BUILD_PATH: '%APPVEYOR_BUILD_FOLDER%\build\%VS_VERSION%'
ARTIFACT_NAME: '%APPVEYOR_PROJECT_NAME%-%VS_VERSION%-%APPVEYOR_REPO_BRANCH%-%APPVEYOR_BUILD_NUMBER%.zip'
install: install:
- appveyor DownloadFile https://dl.dropboxusercontent.com/u/194502/CppSharp/llvm_windows_x86.7z - appveyor DownloadFile https://dl.dropboxusercontent.com/u/194502/CppSharp/llvm_windows_x86.7z
@ -47,10 +48,10 @@ build_script:
# artifacts configuration # # artifacts configuration #
#---------------------------------# #---------------------------------#
artifacts: after_build:
- path: '%BUILD_PATH%\lib' - echo 'Preparing artifacts...'
name: CppSharp-$(VS_VERSION)-master-$(APPVEYOR_BUILD_NUMBER) - 7z a %ARTIFACT_NAME% %BUILD_PATH%\lib\%CONFIGURATION%_x32\*
type: zip - appveyor PushArtifact %ARTIFACT_NAME%
#---------------------------------# #---------------------------------#
# deployment configuration # # deployment configuration #
@ -62,7 +63,7 @@ deploy:
provider: GitHub provider: GitHub
auth_token: auth_token:
secure: tSYxyXeLtE0f6ZsXsGaHZEAw5Nj4TcgN/rx8uCfPnRjcE55OLAVn/8WXEiovNXLt secure: tSYxyXeLtE0f6ZsXsGaHZEAw5Nj4TcgN/rx8uCfPnRjcE55OLAVn/8WXEiovNXLt
artifact: CppSharp-$(VS_VERSION)-master-$(APPVEYOR_BUILD_NUMBER).zip artifact: $(ARTIFACT_NAME)
draft: true draft: true
prerelease: true prerelease: true
on: on:

Loading…
Cancel
Save