File tree 4 files changed +6
-3
lines changed 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 31
31
ln gcc-build/libgccjit.so gcc-build/libgccjit.so.0
32
32
33
33
- name : Set LIBRARY_PATH
34
- run : echo "LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
34
+ run : |
35
+ echo "LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
36
+ echo "LD_LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
35
37
36
38
# https://github.com/actions/cache/issues/133
37
39
- name : Fixup owner of ~/.cargo/
66
68
run : |
67
69
./prepare_build.sh
68
70
./build.sh
71
+ cargo test
69
72
./clean_all.sh
70
73
71
74
- name : Prepare dependencies
Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ gimple*
15
15
* asm
16
16
res
17
17
test-backend
18
+ gcc_path
Original file line number Diff line number Diff line change @@ -113,6 +113,5 @@ p loc->m_line
113
113
114
114
### How to use a custom-build rustc
115
115
116
- * Build the stage1 compiler (`rustup toolchain link debug-current stage2 build/x86_64-unknown-linux-gnu/stage1 `).
116
+ * Build the stage2 compiler (`rustup toolchain link debug-current build/x86_64-unknown-linux-gnu/stage2 `).
117
117
* Clean and rebuild the codegen with `debug-current` in the file `rust-toolchain`.
118
- * Add `~/.rustup/toolchains/debug-current/lib/rustlib/x86_64-unknown-linux-gnu/lib` to `LD_LIBRARY_PATH`.
You can’t perform that action at this time.
0 commit comments