Skip to content

Commit 3a1ddb3

Browse files
committed
HACK: patch rustc_arch.sh script in docker so we can run smir_pretty
1 parent 125cb5e commit 3a1ddb3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,14 @@ jobs:
119119
- name: 'Build kmir (within docker)'
120120
run: docker exec --user user mir-smir-ci-${GITHUB_SHA} make build
121121

122+
- name: 'HACK: patch rustc_arch.sh script (within docker)'
123+
run: |
124+
arch=$(rustc -vV | sed -e 's/host: \(.*\)$/\1/')
125+
docker exec --user user mir-smir-ci-${GITHUB_SHA} \
126+
bash -c "echo 'echo $arch' > deps/smir_pretty/rustc_arch.sh"
127+
docker exec --user user mir-smir-ci-${GITHUB_SHA} \
128+
deps/smir_pretty/rustc_arch.sh
129+
122130
- name: 'Run parser tests (within docker)'
123131
run: docker exec --user user mir-smir-ci-${GITHUB_SHA} make smir-parse-tests
124132

0 commit comments

Comments
 (0)