File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 16
16
steps :
17
17
- uses : actions/checkout@v2
18
18
19
+ - uses : actions/checkout@v2
20
+ with :
21
+ repository : llvm/llvm-project
22
+ path : llvm
23
+
19
24
- name : Install packages
20
25
run : sudo apt-get install ninja-build ripgrep
21
26
@@ -32,10 +37,11 @@ jobs:
32
37
echo $(readlink -f gcc-build) > gcc_path
33
38
ln gcc-build/libgccjit.so gcc-build/libgccjit.so.0
34
39
35
- - name : Set LIBRARY_PATH
40
+ - name : Set env
36
41
run : |
37
42
echo "LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
38
43
echo "LD_LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
44
+ echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
39
45
40
46
# https://github.com/actions/cache/issues/133
41
47
- name : Fixup owner of ~/.cargo/
67
73
key : ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain') }}
68
74
69
75
- name : Build
76
+ env :
77
+ RUST_COMPILER_RT_ROOT : ${{ env.workspace }}/llvm/compiler-rt
70
78
run : |
79
+ ls /home/runner/work/rustc_codegen_gcc/rustc_codegen_gcc/llvm
80
+ echo Workspace ${{ env.workspace }}
81
+ ls ${{ env.workspace }}/llvm
71
82
./prepare_build.sh
72
83
./build.sh ${{ matrix.features }}
73
84
cargo test
You can’t perform that action at this time.
0 commit comments