Skip to content

Commit d2c7a44

Browse files
ci: test new runner
Use nix-sudo to wa the secure paths Add dbg info for enospace during build Signed-off-by: Tiago Castro <[email protected]>
1 parent c14ad15 commit d2c7a44

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/unit-int.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ jobs:
6262
sudo modprobe $module
6363
done
6464
sudo apt-get install gdb
65+
# Add debug info
66+
lsblk
67+
df -h
68+
mount
6569
6670
- name: Run Rust Tests
6771
run: |

scripts/ci-report.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
SCRIPT_DIR="$(dirname "$0")"
44
export ROOT_DIR="$SCRIPT_DIR/.."
5-
SUDO=$(which sudo)
5+
SUDO=$(which nix-sudo 2>/dev/null || which sudo)
66
CI_REPORT_START_DATE=${CI_REPORT_START_DATE:--3h}
77

88
set -eu
@@ -18,4 +18,3 @@ $SUDO nvme list-subsys -v >> nvme.txt
1818
cat /proc/meminfo > meminfo.txt
1919

2020
find . -type f \( -name "*.txt" -o -name "*.xml" \) -print0 | xargs -0 tar -czvf ci-report.tar.gz
21-

0 commit comments

Comments
 (0)