forked from grzegorzmazur/yacas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
52 lines (40 loc) · 1.35 KB
/
appveyor.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
branches:
only:
- master
- develop
skip_tags: true
clone_script:
- ps: >-
if(-not $env:appveyor_pull_request_number) {
$env:GIT_LFS_SKIP_SMUDGE = 1
git clone -q --branch=$env:appveyor_repo_branch https://github.com/$env:appveyor_repo_name $env:appveyor_build_folder
git checkout -qf $env:appveyor_repo_commit
git lfs pull
} else {
$env:GIT_LFS_SKIP_SMUDGE = 1
git clone -q https://github.com/$env:appveyor_repo_name $env:appveyor_build_folder
git fetch -q origin +refs/pull/$env:appveyor_pull_request_number/merge:
git checkout -qf FETCH_HEAD
git lfs pull
}
platform:
- x64
configuration:
- Release
image: Visual Studio 2017
environment:
matrix:
- CMAKE_GENERATOR: "Visual Studio 15 2017 Win64"
QTDIR: C:\Qt\5.13.2\msvc2017_64
before_build:
- cd c:\projects\yacas
- cmake -H. -Bbuild -G "%CMAKE_GENERATOR%" -DENABLE_CYACAS_KERNEL=Off -DENABLE_CYACAS_UNIT_TESTS=Off -DENABLE_CYACAS_BENCHMARKS=Off -DCMAKE_PREFIX_PATH="%QTDIR%" -DCMAKE_INSTALL_PREFIX=c:\projects\yacas\install
build:
project: build\INSTALL.vcxproj
test_script:
- cmd: msbuild "build\RUN_TESTS.vcxproj" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
after_build:
- 7z a yacas.zip c:\projects\yacas\install\*
artifacts:
- path: yacas.zip
name: yacas