1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 17:39:53 +03:00

app veyor: make it green again

This commit is contained in:
Ilya Shipitsin 2018-10-26 17:24:09 +05:00
parent 1cb225c0ba
commit 092fe96676
2 changed files with 14 additions and 4 deletions

View File

@ -52,8 +52,7 @@ for:
build_script: build_script:
- make package -C tmp - make package -C tmp
after_build: after_build:
- sudo dpkg -i build/softether-vpn*.deb - .ci/appveyor_afterbuild.sh
- sudo systemctl restart softether-vpnserver
artifacts: artifacts:
- path: build/*.deb - path: build/*.deb
name: Ubuntu name: Ubuntu
@ -66,8 +65,7 @@ for:
build_script: build_script:
- make package -C tmp - make package -C tmp
after_build: after_build:
- sudo dpkg -i build/softether-vpn*.deb - .ci/appveyor_afterbuild.sh
- sudo systemctl restart softether-vpnserver
artifacts: artifacts:
- path: build/*.deb - path: build/*.deb
name: Ubuntu name: Ubuntu

12
.ci/appveyor_afterbuild.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
set -eux
sudo dpkg -i build/softether-common*.deb
sudo dpkg -i build/softether-vpnbridge*.deb
sudo dpkg -i build/softether-vpnclient*.deb
sudo dpkg -i build/softether-vpncmd*.deb
sudo dpkg -i build/softether-vpnserver*.deb
sudo systemctl restart softether-vpnserver