Skip to content

Commit

Permalink
[ci] do a test deploy of windows package
Browse files Browse the repository at this point in the history
  • Loading branch information
vovkos committed May 8, 2019
1 parent c89b306 commit 54d96ac
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 24 deletions.
62 changes: 41 additions & 21 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,28 @@ matrix:

platform:
- x64
- x86
# - x86

configuration:
- Debug
- Release
# - Release

environment:
matrix:
- LLVM_VERSION: 3.4.2
TOOLCHAIN: msvc10

- LLVM_VERSION: 3.4.2
TOOLCHAIN: msvc12

- LLVM_VERSION: 3.4.2
TOOLCHAIN: msvc14

- LLVM_VERSION: 3.9.1
TOOLCHAIN: msvc12

- LLVM_VERSION: 3.9.1
TOOLCHAIN: msvc14
# - LLVM_VERSION: 3.4.2
# TOOLCHAIN: msvc12
#
# - LLVM_VERSION: 3.4.2
# TOOLCHAIN: msvc14
#
# - LLVM_VERSION: 3.9.1
# TOOLCHAIN: msvc12
#
# - LLVM_VERSION: 3.9.1
# TOOLCHAIN: msvc14

install:
- call ci\appveyor\set-env.bat %TOOLCHAIN% %PLATFORM%
Expand Down Expand Up @@ -78,18 +78,38 @@ build_script:

- mkdir build
- cd build
- cmake .. %CMAKE_CONFIGURE_FLAGS% -DJANCY_TEST_OPT_LEVEL=-O1
- cmake .. %CMAKE_CONFIGURE_FLAGS%
- cmake --build . %CMAKE_BUILD_FLAGS%

- cpack -C %CONFIGURATION% -G 7Z

- ps: Add-AppveyorMessage "APPVEYOR_REPO_COMMIT=$env:APPVEYOR_REPO_COMMIT"

test_script:
- ctest -C %CONFIGURATION% --output-on-failure
# test_script:
# - ctest -C %CONFIGURATION% --output-on-failure
#
# notifications:
# - provider: Webhook
# on_build_success: true
# on_build_failure: false
#
# url: http://jancy.org:5005/appveyor-ci

artifacts:
- path: build\jancy-1.8.5-windows-amd64.7z
name: jancy_package

deploy:
description: 'Test deploy'
provider: GitHub

notifications:
- provider: Webhook
on_build_success: true
on_build_failure: false
auth_token:
secure: Fu74ylq5QefgNWwNJ/f9OuEYykWNLRetDgRTED5UhVD6Dczu9btgesmnuvFkp874

url: http://jancy.org:5005/appveyor-ci
artifact: jancy_package
force_update: true

on:
platform: x64
toolchain: msvc10
configuration: Debug
4 changes: 2 additions & 2 deletions ci/appveyor/install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ echo set (LLVM_CMAKE_DIR %DOWNLOAD_DIR_CMAKE%/llvm/%LLVM_CMAKE_SUBDIR%) >> paths

:: Get rid of Xamarin annoying build warnings

del "c:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets"
del "c:\Program Files (x86)\MSBuild\4.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets"
:: del "c:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets"
:: del "c:\Program Files (x86)\MSBuild\4.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets"
2 changes: 1 addition & 1 deletion ci/travis/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fi

mkdir build
pushd build
cmake .. -DTARGET_CPU=$TARGET_CPU -DCMAKE_BUILD_TYPE=$BUILD_CONFIGURATION -DJANCY_TEST_OPT_LEVEL=-O1
cmake .. -DTARGET_CPU=$TARGET_CPU -DCMAKE_BUILD_TYPE=$BUILD_CONFIGURATION
make
ctest --output-on-failure

Expand Down
File renamed without changes.

0 comments on commit 54d96ac

Please sign in to comment.