diff --git a/.appveyor.yml b/.appveyor.yml index bca79a40..c16eca49 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -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 diff --git a/.ci/appveyor_afterbuild.sh b/.ci/appveyor_afterbuild.sh index f22759be..1e912a4e 100755 --- a/.ci/appveyor_afterbuild.sh +++ b/.ci/appveyor_afterbuild.sh @@ -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)