Skip to content

Commit b774221

Browse files
moha-bekhclaude
andcommitted
ci: drop the static-linking assertions from the musl build job
The job only needs to prove that both musl targets build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 4ffec74 commit b774221

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -278,21 +278,6 @@ jobs:
278278
- name: Build
279279
run: cargo build --bin codspeed --target "${{ matrix.target }}"
280280

281-
- name: Assert the artifact is static and carries both subcommands
282-
run: |
283-
BIN=target/${{ matrix.target }}/debug/codspeed
284-
file "$BIN"
285-
# Not a `file` string: x86_64 musl is a static-PIE and `file` spells
286-
# it differently from aarch64.
287-
if readelf -d "$BIN" 2>/dev/null | grep -qE 'NEEDED|RPATH|RUNPATH'; then
288-
echo "the musl binary has a dynamic dependency"
289-
exit 1
290-
fi
291-
if readelf -lW "$BIN" 2>/dev/null | grep -q 'INTERP'; then
292-
echo "the musl binary requests a dynamic loader"
293-
exit 1
294-
fi
295-
296281
check:
297282
runs-on: ubuntu-latest
298283
if: always()

0 commit comments

Comments
 (0)