-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
61 lines (45 loc) · 1.27 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
52
53
54
55
56
57
58
59
60
61
version: 2.0.{build}
image: Visual Studio 2019
shallow_clone: true
clone_depth: 1
configuration:
- Release-Far3
platform:
- Win32
- x64
build:
project: IntChecker2.sln
verbosity: minimal
test: off
matrix:
fast_finish: true
install:
- SET PATH=%PATH%;C:\msys64\usr\bin
- cd extra
- m4 -P version.txt.m4 > version.txt
- SET /p PVER=<version.txt
- appveyor UpdateBuild -Version %PVER%.%APPVEYOR_BUILD_NUMBER%
- DEL version.txt
after_build:
- cmd: >-
cd %APPVEYOR_BUILD_FOLDER%
xcopy bin\%configuration%-%platform%\* export\IntChecker2 /E /I /Y > nul
xcopy source\Text\*.txt export\IntChecker2 /E /I /Y > nul
xcopy extra\scripts\* export\IntChecker2\scripts /E /I /Y > nul
IF "%platform%" == "Win32" (SET P_ARCH=x86) ELSE (SET P_ARCH=%platform%)
7z a -r -sdel -bd -x!*.ipdb -x!*.iobj -- IntChecker2_%configuration:~-4%_%P_ARCH%_%PVER%.7z .\export\*
artifacts:
- path: '*.7z'
name: distr
deploy:
- provider: GitHub
tag: $(APPVEYOR_REPO_TAG_NAME)
release: $(PVER)
description: 'Stable Release'
auth_token:
secure: 8yIMSvujlGt6MF6RMRvIYhNG9JTzQa8eqnx+BBBb4kbsZ/IKovnbJD1WnInPEt4/
artifact: distr
draft: true
prerelease: false
on:
APPVEYOR_REPO_TAG: true # deploy on tag push only