From ab3daead2853f335197352c5df7fab699c844fa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20=C3=9Cbelacker?= Date: Wed, 5 Jun 2024 00:33:40 +0200 Subject: [PATCH] Include CTestCostData.txt in github actions. --- scripts/github-actions-test.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/github-actions-test.sh b/scripts/github-actions-test.sh index 892bb027993..2ad300f80f7 100755 --- a/scripts/github-actions-test.sh +++ b/scripts/github-actions-test.sh @@ -10,11 +10,14 @@ echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope > /dev/null (echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns) > /dev/null || true let halfproc=`nproc`/2 cd obj +mkdir -p Testing/Temporary +mv ../.buildkite/CTestCostData.txt Testing/Temporary ctest -j$halfproc --verbose -STATUS=$? +STATUS=1 if [[ $STATUS != 0 ]]; then mkdir $GITHUB_WORKSPACE/failed-tests + tar zcf $GITHUB_WORKSPACE/failed-tests/rr-test-ctestcostdata.tar.gz Testing/Temporary/CTestCostData.txt cd /tmp rm rr-test-cpu-lock || true for dir in rr-test-*; do