Commit a13a448
Run LLVM install script on Linux runners (#146)
* Run LLVM install script on Linux runners
This will add the relevant LLVM PPA to the runner's package manager
which provides versions of clang-format and clang-tidy that may not yet
be available in the official Ubuntu repositories (e.g. LLVM 16 on Ubuntu
22.04 at the time this commit was authored).
* Only use LLVM script after failure from Ubuntu repos
This also separates the steps of installing the dependencies on Linux
runners from the dependencies on other runners.
* Remove unnecessary apt-get update
* Combine dependency installation into 1 step
* Update action.yml
* nest the call to instal script in a conditional statement
---------
Co-authored-by: Brendan <2bndy5@gmail.com>1 parent 77982d5 commit a13a448
1 file changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
94 | 102 | | |
95 | | - | |
| 103 | + | |
96 | 104 | | |
97 | 105 | | |
98 | 106 | | |
99 | 107 | | |
100 | 108 | | |
| 109 | + | |
101 | 110 | | |
102 | 111 | | |
103 | 112 | | |
| |||
0 commit comments