summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Loibl2021-10-21 12:52:33 +0200
committerMatthias Loibl2021-10-21 12:52:33 +0200
commita742829c4d55229eff2e78445b478390f8f41ae8 (patch)
tree9fa0e52f047e0490c6c15bf6275ce8146bbb6683
parent18299734fc9ee312f3a32485c5a25f25c0d794e0 (diff)
downloadaur-a742829c4d55229eff2e78445b478390f8f41ae8.tar.gz
Run checks before building
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 6 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e1450ed7675a..4cfa0a1e7576 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = parca
pkgdesc = Continuous profiling for analysis of CPU, memory usage over time, and down to the line number.
pkgver = 0.2.0
- pkgrel = 1
+ pkgrel = 2
url = https://parca.dev
arch = x86_64
license = Apache
diff --git a/PKGBUILD b/PKGBUILD
index c895eee4a9c0..b9103330f47d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=parca
pkgver=0.2.0
-pkgrel=1
+pkgrel=2
pkgdesc='Continuous profiling for analysis of CPU, memory usage over time, and down to the line number.'
url='https://parca.dev'
@@ -42,11 +42,10 @@ build() {
./cmd/parca
}
-# Fails due to some proftest...
-# check() {
-# cd $srcdir/parca-$pkgver
-# go test -short ./...
-# }
+check() {
+ cd $srcdir/parca-$pkgver
+ go test -short ./...
+}
package() {
install -Dm644 parca.service "$pkgdir"/usr/lib/systemd/system/parca.service