summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-05-29 11:09:10 -0600
committermo khan <mo@mokhan.ca>2025-05-29 11:09:10 -0600
commit3170b3ed27a0f971a42256f8eb7c550011f0920a (patch)
treeec2163121898dce555568d035fe107e73a696d85
parent7ac5f983981022c0b8ba5ac413bba730c295404b (diff)
chore: enable debug output in cibuild
-rw-r--r--.gitlab-ci.yml2
-rwxr-xr-xbin/cibuild5
2 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a6ae897..dc5e3f0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,3 +2,5 @@ unit:
image: ruby:latest
script:
- sh ./bin/cibuild
+ variables:
+ DEBUG: true
diff --git a/bin/cibuild b/bin/cibuild
index 54e8abf..e4ba6b2 100755
--- a/bin/cibuild
+++ b/bin/cibuild
@@ -1,4 +1,9 @@
#!/bin/sh
+set -e
+
+[ -n "$DEBUG" ] && set -x
+
+cd "$(dirname "$0")/.."
apt update -y && apt install -y gpg wget curl
install -dm 755 /etc/apt/keyrings