mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-19 02:10:28 +08:00
add legacy macOS support (#481)
* README.md: wiki => pages * Set up CI with Azure Pipelines [skip ci] * Update azure-pipelines.yml for Azure Pipelines * add build environment variable * Fix Path * Chem Is Try * update azure pipeline * Update azure-pipelines.yml for Azure Pipelines * Update azure-pipelines.yml * Update azure-pipelines.yml * Update azure-pipelines.yml * azure: disable addChangeLog and set isPreRelease to true Co-authored-by: DuckSoft <realducksoft@gmail.com>
This commit is contained in:
parent
e7ed63656d
commit
b078df32cb
@ -70,7 +70,7 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
## Related Links
|
## Related Links
|
||||||
- [Wiki](https://github.com/Qv2ray/Qv2ray/wiki) and [First Time Usage](https://github.com/Qv2ray/Qv2ray/wiki/Getting-Started-step0)
|
- [Website](https://qv2ray.github.io/en/) and [First Time Usage](https://qv2ray.github.io/en/getting-started/)
|
||||||
- Latest **[Release](https://github.com/Qv2ray/Qv2ray/releases/latest)**
|
- Latest **[Release](https://github.com/Qv2ray/Qv2ray/releases/latest)**
|
||||||
- Welcome to translate Qv2ray via: **[Transifex](https://www.transifex.com/qv2ray/qv2ray)**
|
- Welcome to translate Qv2ray via: **[Transifex](https://www.transifex.com/qv2ray/qv2ray)**
|
||||||
|
|
||||||
|
52
azure-pipelines.yml
Normal file
52
azure-pipelines.yml
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
# Starter pipeline
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branches:
|
||||||
|
include:
|
||||||
|
- master
|
||||||
|
- dev
|
||||||
|
- dev-azure-pipelines
|
||||||
|
tags:
|
||||||
|
include:
|
||||||
|
- v*
|
||||||
|
|
||||||
|
pool:
|
||||||
|
vmImage: 'macOS-10.14'
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- checkout: self
|
||||||
|
submodules: recursive
|
||||||
|
- script: |
|
||||||
|
brew install protobuf grpc ninja qt5
|
||||||
|
displayName: Prepare dependencies
|
||||||
|
- script: |
|
||||||
|
xcversion select 10.1 --symlink
|
||||||
|
displayName: Select Xcode 10.1 as active
|
||||||
|
- script: |
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release
|
||||||
|
cmake --build . --parallel $(sysctl -n hw.logicalcpu)
|
||||||
|
sudo cmake --install .
|
||||||
|
sudo chmod -Rv a+rw ./
|
||||||
|
displayName: Build Qv2ray
|
||||||
|
env:
|
||||||
|
Qt5_DIR: /usr/local/opt/qt5/lib/cmake/Qt5
|
||||||
|
- script: |
|
||||||
|
cd build
|
||||||
|
tar czvf Qv2ray.macOS.tar.gz qv2ray.app
|
||||||
|
displayName: Create Tarball
|
||||||
|
- task: PublishBuildArtifacts@1
|
||||||
|
inputs:
|
||||||
|
PathtoPublish: 'build/Qv2ray.macOS.tar.gz'
|
||||||
|
ArtifactName: 'Qv2ray-macOS'
|
||||||
|
publishLocation: 'Container'
|
||||||
|
- task: GitHubRelease@0
|
||||||
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
|
||||||
|
inputs:
|
||||||
|
gitHubConnection: 'github.com_DuckSoft'
|
||||||
|
assets: 'build/Qv2ray.macOS.tar.gz'
|
||||||
|
action: edit
|
||||||
|
tag: '$(Build.SourceBranchName)'
|
||||||
|
isPreRelease: true
|
||||||
|
addChangeLog: false
|
Loading…
Reference in New Issue
Block a user