-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.appveyor.yml
50 lines (41 loc) · 1.14 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
version: "{build}"
os: Visual Studio 2017
configuration:
- Release
platform:
- x64
environment:
matrix:
- GENERATOR: Visual Studio 15 2017 Win64
- GENERATOR: Visual Studio 15 2017
build:
verbosity: minimal
install:
- cmd: |
set "PATH=C:\msys64\usr\bin;C:\msys64\mingw64\bin;C:\Windows\System32;C:\Windows;%PATH%"
set MSYSTEM=MSYS2
pacman --noconfirm -S bison flex
build_script:
- cmd: |
mkdir _build
cd _build
cmake -G "%GENERATOR%" -DCMAKE_INSTALL_PREFIX=khaotica -DCMAKE_BUILD_TYPE=Release -DBOOST_ROOT=C:/Libraries/boost_1_64_0 ..
cmake --build . --config Release
cmake --build . --target install
after_build:
- cmd: |
git describe --tags > version.txt
set /p VERSION= < version.txt
7z a -t7z khaotica-%VERSION%.7z ./khaotica/*
artifacts:
- path: _build/khaotica-$(VERSION).7z
name: khaotica-pkg
deploy:
provider: GitHub
description: '$(APPVEYOR_REPO_TAG_NAME)'
auth_token:
secure: U440AbFTFluGznzClLqJVmJagEJm9y1kIIZS0a6Tj9nqDb5PCI7UHuBp4apoTX1W
artifact: khaotica-pkg
force_update: true
on:
appveyor_repo_tag: true