mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-12-26 18:19:53 +03:00
Merge PR #773: ci repair and refactoring
This commit is contained in:
commit
9ae379bc31
@ -52,8 +52,9 @@ for:
|
||||
build_script:
|
||||
- make package -C tmp
|
||||
after_build:
|
||||
- sudo dpkg -i build/softether-vpn*.deb
|
||||
- sudo systemctl restart softether-vpnserver
|
||||
- .ci/appveyor_afterbuild.sh
|
||||
on_failure:
|
||||
- sudo journalctl -xe
|
||||
artifacts:
|
||||
- path: build/*.deb
|
||||
name: Ubuntu
|
||||
@ -66,8 +67,9 @@ for:
|
||||
build_script:
|
||||
- make package -C tmp
|
||||
after_build:
|
||||
- sudo dpkg -i build/softether-vpn*.deb
|
||||
- sudo systemctl restart softether-vpnserver
|
||||
- .ci/appveyor_afterbuild.sh
|
||||
on_failure:
|
||||
- sudo journalctl -xe
|
||||
artifacts:
|
||||
- path: build/*.deb
|
||||
name: Ubuntu
|
||||
|
12
.ci/appveyor_afterbuild.sh
Executable file
12
.ci/appveyor_afterbuild.sh
Executable 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
|
||||
|
@ -12,14 +12,6 @@
|
||||
- make package -C tmp
|
||||
- dpkg -i build/softether-vpn*.deb
|
||||
|
||||
bionic:
|
||||
<<: *ubuntu_def
|
||||
image: ubuntu:bionic
|
||||
|
||||
xenial:
|
||||
<<: *ubuntu_def
|
||||
image: ubuntu:xenial
|
||||
|
||||
trusty:
|
||||
<<: *ubuntu_def
|
||||
image: ubuntu:trusty
|
||||
|
Loading…
Reference in New Issue
Block a user