]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
ci: Add traces to CI jobs to make debug cycle shorter
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 27 Aug 2025 18:57:45 +0000 (20:57 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 31 Aug 2025 08:30:49 +0000 (10:30 +0200)
ci/build-and-verify-package
ci/build-and-verify-source-package
ci/build-binary
ci/build-darwin-binary
ci/build-docs
ci/install-cuda

index c9a95d3e0ea049f81b00a95d5caab9f658d0b6b6..4a06796521a11b2c898033db54c31c2da2f23bf3 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-set -eu
+set -eux
 
 # Ninja builds with relative paths so that ccache can be used to cache the build
 # without resorting to setting base_dir.
index d74bc152c970f34b93bbfbf65322b87518d5bdb6..dc7375eddd2b54ddce118b2ca8de92acb1daa7de 100755 (executable)
@@ -3,7 +3,7 @@
 # Test that it works to build from a source archive exported by "git archive"
 # outside a Git repository.
 
-set -eu
+set -eux
 
 # Unset CI variable to trigger ccache user build mode.
 unset CI
index ff72a0e6c0c606bc754188fef32f803bd35dc578..cd3b1c76ec0ee614868d92f922febe37a508f401 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-set -eu
+set -eux
 
 : ${CMAKE_PARAMS:=}
 
@@ -15,3 +15,6 @@ cmake \
     ..
 cmake --build .
 cmake --install . --strip
+
+cd ..
+find install -ls
index 7cf9b38b2a7841d5a6b77ac79b185dfd6e4dd3f8..2e4e018dde0d8da97f9d422c7f7c368fc4171627 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-set -eu
+set -eux
 
 build() {
     mkdir -p "build_$1"
@@ -29,3 +29,5 @@ done
 mkdir -p install/bin
 lipo -create $FILES -output install/bin/ccache
 lipo -info install/bin/ccache
+
+find install -ls
index 2a9d42d25825f0a91dc067e46fb30dc38db1ebfa..07540a9049d579e0f34c8e5151c15864344630fc 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-set -eu
+set -eux
 
 dir=build
 cmake -B "${dir}" -D CMAKE_INSTALL_PREFIX="$(pwd)/install"
index 4518316decf19afb08c903b02c5e73222e020c43..03d6844a128a9a40f84d3c886bdab7b9b28203f0 100755 (executable)
@@ -2,7 +2,7 @@
 #
 # Version is given in the CUDA variable.
 
-set -eu
+set -eux
 
 retry() {
     local i=0