1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-26 19:39: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:
Ilya Shipitsin 2018-11-04 00:10:51 +05:00 committed by GitHub
commit 90902f1364
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 7 deletions

View File

@ -50,11 +50,9 @@ for:
before_build: before_build:
- ./configure - ./configure
build_script: build_script:
- make package -C tmp - make package -C tmp -j $(nproc || sysctl -n hw.ncpu || echo 4)
after_build: after_build:
- .ci/appveyor_afterbuild.sh - .ci/appveyor_afterbuild.sh
on_failure:
- sudo journalctl -xe --no-pager
artifacts: artifacts:
- path: build/*.deb - path: build/*.deb
name: Ubuntu name: Ubuntu
@ -65,12 +63,10 @@ for:
before_build: before_build:
- ./configure - ./configure
build_script: build_script:
- make package -C tmp - make package -C tmp -j $(nproc || sysctl -n hw.ncpu || echo 4)
- .ci/memory-leak-test.sh - .ci/memory-leak-test.sh
after_build: after_build:
- .ci/appveyor_afterbuild.sh - .ci/appveyor_afterbuild.sh
on_failure:
- sudo journalctl -xe --no-pager
artifacts: artifacts:
- path: build/*.deb - path: build/*.deb
name: Ubuntu name: Ubuntu

View File

@ -8,5 +8,5 @@ sudo dpkg -i build/softether-vpnclient*.deb
sudo dpkg -i build/softether-vpncmd*.deb sudo dpkg -i build/softether-vpncmd*.deb
sudo dpkg -i build/softether-vpnserver*.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)