File tree Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
build :
9
- runs-on : ${{ matrix.os }}
9
+ runs-on : ubuntu-latest
10
10
11
11
strategy :
12
12
fail-fast : false
13
- matrix :
14
- os : [ubuntu-latest, macos-latest]
15
13
16
14
steps :
17
15
- uses : actions/checkout@v2
18
16
17
+ - name : Download artifact
18
+ uses : dawidd6/action-download-artifact@v2
19
+ with :
20
+ workflow : main.yml
21
+ name : libgccjit.so
22
+ path : gcc-build
23
+ repo : antoyo/gcc
24
+
25
+ - name : Setup path to libgccjit
26
+ run : |
27
+ echo $(readlink -f gcc-build) > gcc_path
28
+ ln gcc-build/libgccjit.so gcc-build/libgccjit.so.0
29
+
30
+ - name : cat
31
+ run : cat gcc_path
32
+
33
+ - name : Set LIBRARY_PATH
34
+ run : echo "LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
35
+
19
36
# https://github.com/actions/cache/issues/133
20
37
- name : Fixup owner of ~/.cargo/
21
38
# Don't remove the trailing /. It is necessary to follow the symlink.
25
42
uses : actions/cache@v1.1.2
26
43
with :
27
44
path : ~/.cargo/bin
28
- key : cargo-installed-crates2-${{ matrix.os }}
45
+ key : cargo-installed-crates2-ubuntu-latest
29
46
30
47
- name : Cache cargo registry
31
48
uses : actions/cache@v1
You can’t perform that action at this time.
0 commit comments