mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-09 03:00:41 +03:00
34 lines
613 B
YAML
34 lines
613 B
YAML
version: '{build}'
|
|
|
|
image:
|
|
- Visual Studio 2015
|
|
- Ubuntu1604
|
|
- Ubuntu1804
|
|
|
|
skip_branch_with_pr: true
|
|
|
|
clone_depth: 1
|
|
|
|
init:
|
|
- ps: Update-AppveyorBuild -Version "build-$env:APPVEYOR_BUILD_NUMBER-$($env:APPVEYOR_REPO_COMMIT.substring(0,7))"
|
|
|
|
install: git submodule update --init --recursive
|
|
|
|
build_script:
|
|
- cmd: >-
|
|
src\BuildAll.cmd
|
|
exit %errorlevel%
|
|
- sh: >-
|
|
./configure && make package -C tmp
|
|
|
|
sudo dpkg -i build/softether-vpn*.deb
|
|
|
|
sudo systemctl restart softether-vpnserver
|
|
|
|
artifacts:
|
|
- path: output\pkg\*\*
|
|
name: Windows
|
|
|
|
- path: build/*.deb
|
|
name: Ubuntu
|