diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 3a12d19428..f050d25449 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -171,7 +171,10 @@ jobs: for bin in $test_exe_paths; do SRC=$bin DST=/tmp/neon/test_bin/$(basename $bin) - cp "$SRC" "$DST" + + # We don't need debug symbols for code coverage, so strip them out to make + # the artifact smaller. + strip "$SRC" -o "$DST" echo "$DST" >> /tmp/coverage/binaries.list done fi