Skip to content

Commit

Permalink
patching the patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jberthold committed Aug 30, 2024
1 parent 3a1ddb3 commit ebac227
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,11 @@ jobs:

- name: 'HACK: patch rustc_arch.sh script (within docker)'
run: |
arch=$(rustc -vV | sed -e 's/host: \(.*\)$/\1/')
arch=$(rustc -vV | sed -n -e 's/host: \(.*\)$/\1/p')
docker exec --user user mir-smir-ci-${GITHUB_SHA} \
bash -c "echo 'echo $arch' > deps/smir_pretty/rustc_arch.sh"
bash -c "printf '#!/bin/sh\necho \"$arch\"\n' > deps/smir_pretty/rustc_arch.sh"
docker exec --user user mir-smir-ci-${GITHUB_SHA} \
cat deps/smir_pretty/rustc_arch.sh
docker exec --user user mir-smir-ci-${GITHUB_SHA} \
deps/smir_pretty/rustc_arch.sh
Expand Down

0 comments on commit ebac227

Please sign in to comment.