Skip to content

Commit e66ec88

Browse files
committed
Work arouind iai-callgrind apt failures
Usually `cargo binstall iai-callgrind-runner` handles apt dependencies. However, the following has been happening: Err:11 mirror+file:/etc/apt/apt-mirrors.txt noble-updates/main amd64 libc6-dbg amd64 2.39-0ubuntu8.3 404 Not Found [IP: 40.81.13.82 80] E: Failed to fetch mirror+file:/etc/apt/apt-mirrors.txt/pool/main/g/glibc/libc6-dbg_2.39-0ubuntu8.3_amd64.deb 404 Not Found [IP: 40.81.13.82 80] Fetched 19.8 MB in 6s (3138 kB/s) E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Installing the dependencies manually seems to resolve the issue.
1 parent 020db46 commit e66ec88

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/main.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ jobs:
158158

159159
- name: Set up dependencies
160160
run: |
161+
sudo apt update
162+
sudo apt install -y valgrind gdb libc6-dbg # Needed for iai-callgrind
161163
rustup update "$BENCHMARK_RUSTC" --no-self-update
162164
rustup default "$BENCHMARK_RUSTC"
163165
# Install the version of iai-callgrind-runner that is specified in Cargo.toml

0 commit comments

Comments
 (0)