1 Star 0 Fork 0

郭送军/Qv2ray

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
azure-pipelines.yml 1.41 KB
一键复制 编辑 原始数据 按行查看 历史
ymshenyu 提交于 2020-11-09 21:45 . CI: fix azure pipeline
# Starter pipeline
trigger:
branches:
include:
- master
- dev
tags:
include:
- v*
pool:
vmImage: "macOS-10.14"
steps:
- checkout: self
submodules: recursive
- task: NodeTool@0
inputs:
versionSpec: "12.x"
- script: |
pip3 install aqtinstall
aqt install --outputdir $AGENT_BUILDDIRECTORY/qt 5.15.1 mac desktop
brew install protobuf grpc ninja pkg-config tree
npm install -g appdmg
displayName: Prepare dependencies
- script: |
PATH=$AGENT_BUILDDIRECTORY/qt/5.15.1/clang_64/bin:$PATH
mkdir build
cd build
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_DEPLOYMENT_TARGET=10.12
cmake --build .
sudo cmake --install .
appdmg ../assets/package_dmg.json ../qv2ray-legacy.dmg
displayName: Build Qv2ray
env:
Qt5_DIR: $(Agent.BuildDirectory)/qt/5.15.1/clang_64/lib/cmake/Qt5
PKG_CONFIG_PATH: /usr/local/opt/[email protected]/lib/pkgconfig
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: "qv2ray-legacy.dmg"
ArtifactName: "qv2ray-legacy.dmg"
publishLocation: "Container"
- task: GitHubRelease@0
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
inputs:
gitHubConnection: "GitHub - DuckSoft"
assets: "qv2ray-legacy.dmg"
action: edit
tag: "$(Build.SourceBranchName)"
isPreRelease: true
addChangeLog: false
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/guosongjun/Qv2ray.git
[email protected]:guosongjun/Qv2ray.git
guosongjun
Qv2ray
Qv2ray
dependabot/github_actions/dot-github/workflows/actions/download-artifact-4.1.7

搜索帮助