From 55fffa809312f6c0ae40528fd1ee66b7559c4650 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 14 May 2024 21:22:08 +0200 Subject: Merging upstream version 0.17.1. Signed-off-by: Daniel Baumann --- ci-legacy/success.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 ci-legacy/success.sh (limited to 'ci-legacy/success.sh') diff --git a/ci-legacy/success.sh b/ci-legacy/success.sh new file mode 100755 index 0000000..1a34be7 --- /dev/null +++ b/ci-legacy/success.sh @@ -0,0 +1,16 @@ +#!/bin/bash +set -eu + +: "${BUILD_MODE:=normal}" + +if [ "$BUILD_MODE" = "coverage" ]; then + curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import # One-time step + curl -Os https://uploader.codecov.io/latest/linux/codecov + curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM + curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig + gpgv codecov.SHA256SUM.sig codecov.SHA256SUM + shasum -a 256 -c codecov.SHA256SUM + chmod +x codecov + find "${LOCAL_BUILDS}/rnp-build/" -type f -name '*.gcno' -exec gcov -p {} + + ./codecov +fi -- cgit v1.2.3