File tree 1 file changed +13
-3
lines changed 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 13
13
14
14
jobs :
15
15
build :
16
- runs-on : ubuntu-20 .04
16
+ runs-on : ubuntu-22 .04
17
17
18
18
strategy :
19
19
fail-fast : false
@@ -45,10 +45,15 @@ jobs:
45
45
path : llvm
46
46
47
47
- name : Install packages
48
- # `llvm-10-tools` is needed to install the `FileCheck` binary which is used for asm tests.
49
- run : sudo apt-get install ninja-build ripgrep llvm-10-tools
48
+ # `llvm-14-tools` is needed to install the `FileCheck` binary which is used for asm tests.
49
+ run : sudo apt-get install ninja-build ripgrep llvm-14-tools
50
+
51
+ - name : Install libgccjit12
52
+ if : matrix.libgccjit_version.gcc == 'libgccjit12.so'
53
+ run : sudo apt-get install libgccjit-12-dev
50
54
51
55
- name : Download artifact
56
+ if : matrix.libgccjit_version.gcc != 'libgccjit12.so'
52
57
uses : dawidd6/action-download-artifact@v2
53
58
with :
54
59
workflow : main.yml
60
65
search_artifacts : true # Because, instead, the action only check the last job ran and that won't work since we want multiple artifacts.
61
66
62
67
- name : Setup path to libgccjit
68
+ if : matrix.libgccjit_version.gcc == 'libgccjit12.so'
69
+ run : echo /usr/lib/gcc/x86_64-linux-gnu/12 > gcc_path
70
+
71
+ - name : Setup path to libgccjit
72
+ if : matrix.libgccjit_version.gcc != 'libgccjit12.so'
63
73
run : |
64
74
echo $(readlink -f gcc-build) > gcc_path
65
75
# NOTE: the filename is still libgccjit.so even when the artifact name is different.
You can’t perform that action at this time.
0 commit comments