Skip to content

Commit

Permalink
ci: Store EVMC package on AppVeyor
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Jul 23, 2019
1 parent 5c55ac5 commit 58d24e1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -55,3 +55,7 @@ after_build:
cd build
ctest -C $env:CONFIGURATION -j4 --schedule-random --output-on-failure
}
artifacts:
- path: build\evmc-*.*
name: package

0 comments on commit 58d24e1

Please sign in to comment.