File tree Expand file tree Collapse file tree 1 file changed +8
-17
lines changed Expand file tree Collapse file tree 1 file changed +8
-17
lines changed Original file line number Diff line number Diff line change @@ -22,27 +22,13 @@ jobs:
22
22
override : true
23
23
components : clippy
24
24
25
- - name : Download artifact
26
- uses : dawidd6/action-download-artifact@v2
27
- with :
28
- workflow : main.yml
29
- name : " libgccjit.so"
30
- path : gcc-build
31
- repo : antoyo/gcc
32
- branch : " master"
33
- event : push
34
- search_artifacts : true # Because, instead, the action only check the last job ran and that won't work since we want multiple artifacts.
35
-
36
- - name : Setup path to libgccjit
25
+ - name : Download and install GCC fork
37
26
run : |
38
- echo $(readlink -f gcc-build) > gcc_path
39
- # NOTE: the filename is still libgccjit.so even when the artifact name is different.
40
- ln gcc-build/libgccjit.so gcc-build/libgccjit.so.0
27
+ curl -LO https://github.com/antoyo/gcc/releases/latest/download/gcc-13.deb
28
+ sudo dpkg --force-overwrite -i gcc-13.deb
41
29
42
30
- name : Set env
43
31
run : |
44
- echo "LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
45
- echo "LD_LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
46
32
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
47
33
48
34
- name : Cache cargo registry
69
55
cargo build --features master
70
56
cargo build --examples
71
57
58
+ - name : Test
59
+ run : |
60
+ cd examples/factorial
61
+ cargo build
62
+
72
63
- name : clippy
73
64
run : |
74
65
cargo clippy --all-targets -- -D warnings
You can’t perform that action at this time.
0 commit comments