-
Notifications
You must be signed in to change notification settings - Fork 4
/
.appveyor.yml
37 lines (31 loc) · 948 Bytes
/
.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
image:
- Visual Studio 2019
install:
- set MINGWDIR=C:\MinGW\bin
- set GODIR=C:\go114-x86\bin
- set GOROOT=C:\go114-x86
- set PATH=%GODIR%;%MINGWDIR%;%PATH%;
- set GOARCH=386
- go build --tags "api client router" -buildmode=c-shared -o trojan-qt5-core.dll main.go
- process.bat
- python msvc.py
init:
- C:\"Program Files (x86)"\"Microsoft Visual Studio"\2019\Community\VC\Auxiliary\Build\vcvarsall.bat x86
build_script:
- ren trojan-qt5-core.dll trojan-qt5-core-win.dll
- ren trojan-qt5-core.h trojan-qt5-core-win.h
- ren trojan-qt5-core.lib trojan-qt5-core-win.lib
artifacts:
- path: 'trojan-qt5-core-win.*'
name: Trojan-Qt5-Core-Win
deploy:
provider: GitHub
description: "Trojan-Qt5-Core Release"
auth_token:
secure: irJpr7f61rftnluing6Rqm7Q5Lxmk48O48F5t9/3KjaoMsIUh2lUb8SmXQmhkHY9
artifact: Trojan-Qt5-Core-Win
draft: false
prerelease: false
on:
branch: master
APPVEYOR_REPO_TAG: true