[at-spi2-core: 3/5] Download and build grcov from my accessible-html branch




commit f551682deaf02e40b9422e3a140387ca44b2edd3
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Jun 7 14:29:50 2022 -0500

    Download and build grcov from my accessible-html branch

 ci/install-grcov.sh | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/ci/install-grcov.sh b/ci/install-grcov.sh
index dd182fd3..ba477024 100644
--- a/ci/install-grcov.sh
+++ b/ci/install-grcov.sh
@@ -1,14 +1,12 @@
-#!/bin/sh
+source ./ci/env.sh
 
 set -eu
 
-GRCOV_VERSION=v0.8.7
-GRCOV_ARCH=x86_64-unknown-linux-gnu
+REPOSITORY=https://github.com/federicomenaquintero/grcov
+BRANCH=accessible-html
 
-GRCOV_URL=https://github.com/mozilla/grcov/releases/download/$GRCOV_VERSION/grcov-$GRCOV_ARCH.tar.bz2
+git clone --depth 1 --branch $BRANCH $REPOSITORY
+cd grcov
+cargo build --release
 
-wget $GRCOV_URL
-tar xvf grcov-x86_64-unknown-linux-gnu.tar.bz2
-chmod 755 grcov
-
-mv grcov /usr/local/bin
+cp target/release/grcov /usr/local/bin/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]