Merge pull request #367 from ethereum/ci_package

ci: Store EVMC package on AppVeyor
This commit is contained in:
Paweł Bylica 2019-07-23 16:27:06 +02:00 committed by GitHub
commit 0a3d2e7834
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -23,12 +23,12 @@ before_build:
- if "%VS%" == "2017" (call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\Tools\vsdevcmd" -arch=amd64)
- if "%VS%" == "2017-32bit" (call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\Tools\vsdevcmd" -arch=x86)
- if "%VS%" == "2015" (call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall" x64)
- if defined VS cmake -S . -B build -G Ninja -Wno-dev -DCMAKE_INSTALL_PREFIX=C:\install -DTOOLCHAIN=cxx17-pic -DEVMC_TESTING=ON
- if defined VS cmake -S . -B build -G Ninja -Wno-dev -DTOOLCHAIN=cxx17-pic -DEVMC_TESTING=ON
build_script:
- ps: >-
if ($env:VS) {
cmake --build build --target install
cmake --build build --target package
}
elseif ($env:GO) {
$env:PATH = "C:\msys64\mingw64\bin;$env:PATH"
@ -55,3 +55,7 @@ after_build:
cd build
ctest -C $env:CONFIGURATION -j4 --schedule-random --output-on-failure
}
artifacts:
- path: build\evmc-*.*
name: package