Commit ba6a20b
committed
Add a clang preset and use it in CI alongside gcc
This preset configures the project for building with clang. Use it in
the GH workflow to do a test build, to make sure we can also build with
clang successfully.
Keep using the gcc based image for testing, though, as that's the more
common setup in rpm based distros, and running the test-suite twice
would be wasteful. That said, the test-suite does indeed pass with this
preset.
Disable WERROR and ASAN/UBSAN for now, though, as those currently cause
configuration and runtime errors, respectively, which is tracked via the
tickets rpm-software-management#4105 and rpm-software-management#4112. We can reenable these options (drop them from
cacheVariables) once those tickets are resolved.
Fixes: 41041 parent 5a97113 commit ba6a20b
File tree
3 files changed
+24
-1
lines changed- .github/workflows
- tests
3 files changed
+24
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
| 27 | + | |
22 | 28 | | |
23 | 29 | | |
| 30 | + | |
24 | 31 | | |
25 | 32 | | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
| 36 | + | |
29 | 37 | | |
30 | 38 | | |
31 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
30 | 42 | | |
31 | 43 | | |
32 | 44 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| |||
0 commit comments