forked from leanprover/lean3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml.in
31 lines (26 loc) · 1.1 KB
/
.appveyor.yml.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
environment:
matrix:
- MSYSTEM: MINGW64
install:
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Syu" # update core
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Su" # update rest
# upgrading gcc to 6.x fails
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Suuy mingw-w64-x86_64-ninja mingw-w64-x86_64-cmake git"
build_script:
- C:\msys64\usr\bin\bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && mkdir build && cd build && cmake ../src -DINCLUDE_MSYS2_DLLS=ON -DCMAKE_BUILD_TYPE=Release -G Ninja"
- C:\msys64\usr\bin\bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER/build && ninja && cpack"
test_script:
- C:\msys64\usr\bin\bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER/build && ctest -j4 --output-on-failure"
artifacts:
- path: build\lean-@LEAN_VERSION_MAJOR@.@LEAN_VERSION_MINOR@.@[email protected]
name: binary
deploy:
description: 'Lean release'
provider: GitHub
auth_token:
secure: d+yPrDEAbiNrcf3a0PDNYEn/ieOOP6M7cP9zje+QkJEjHFdjBjWMe8b3qrC1hrus
artifact: binary
draft: false
prerelease: false
on:
appveyor_repo_tag: true