-
Notifications
You must be signed in to change notification settings - Fork 22
/
appveyor.yml
48 lines (35 loc) · 1.26 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
version: 1.20.3.{build}
pull_requests:
do_not_increment_build_number: true
skip_tags: true
image: Visual Studio 2022
configuration: Release
build_script:
- cmd: >-
cd ..
mkdir 0cchext_build_x86
cmake -G "Visual Studio 17 2022" -A Win32 -S .\0cchext -B .\0cchext_build_x86 -D0CCHEXT_VERSION=%APPVEYOR_BUILD_VERSION%
cmake --build .\0cchext_build_x86 --config RelWithDebInfo
mkdir 0cchext_build_x64
cmake -G "Visual Studio 17 2022" -A x64 -S .\0cchext -B .\0cchext_build_x64 -D0CCHEXT_VERSION=%APPVEYOR_BUILD_VERSION%
cmake --build .\0cchext_build_x64 --config RelWithDebInfo
mkdir bin\x86
mkdir bin\x64
copy .\0cchext_build_x86\bin\RelWithDebInfo\0cchext.dll bin\x86\0cchext.dll
copy .\0cchext_build_x86\bin\RelWithDebInfo\0cchext.pdb bin\x86\0cchext.pdb
copy .\0cchext_build_x64\bin\RelWithDebInfo\0cchext.dll bin\x64\0cchext.dll
copy .\0cchext_build_x64\bin\RelWithDebInfo\0cchext.pdb bin\x64\0cchext.pdb
7z a -tzip .\0cchext\0cchext.zip bin\*
artifacts:
- path: 0cchext.zip
name: 0cchext.zip
before_deploy:
- cmd: ''
deploy:
- provider: GitHub
auth_token:
secure: wX3E8O7pk/nxO+B0JgFQ6Aan+zAOr9QS0aiviSZhZA22iuY9+a1ULL95hGGCCJOv
artifact: 0cchext.zip
draft: true
prerelease: false
force_update: false