mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-23 01:49:53 +03:00
Merge pull request #797 from chipitsine/test
Merge PR #797: AppVeyor: enable parallel builds and push systemctl log as artifact
This commit is contained in:
commit
90902f1364
@ -50,11 +50,9 @@ for:
|
||||
before_build:
|
||||
- ./configure
|
||||
build_script:
|
||||
- make package -C tmp
|
||||
- make package -C tmp -j $(nproc || sysctl -n hw.ncpu || echo 4)
|
||||
after_build:
|
||||
- .ci/appveyor_afterbuild.sh
|
||||
on_failure:
|
||||
- sudo journalctl -xe --no-pager
|
||||
artifacts:
|
||||
- path: build/*.deb
|
||||
name: Ubuntu
|
||||
@ -65,12 +63,10 @@ for:
|
||||
before_build:
|
||||
- ./configure
|
||||
build_script:
|
||||
- make package -C tmp
|
||||
- make package -C tmp -j $(nproc || sysctl -n hw.ncpu || echo 4)
|
||||
- .ci/memory-leak-test.sh
|
||||
after_build:
|
||||
- .ci/appveyor_afterbuild.sh
|
||||
on_failure:
|
||||
- sudo journalctl -xe --no-pager
|
||||
artifacts:
|
||||
- path: build/*.deb
|
||||
name: Ubuntu
|
||||
|
@ -8,5 +8,5 @@ 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
|
||||
sudo systemctl restart softether-vpnserver || (sudo journalctl -xe --no-pager >> systemctl.log && appveyor PushArtifact systemctl.log && exit 1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user