Commit 073d9e6
committed
Fix .github/codeql/codeql-config.yml for corrected workflow
Remove unnecessary Test step
Use Ninja to generate `compile_commands.json` instead of a full build
Copy compile_commands.json to the correct place
Diagnosis for compile_commands.json issues
More diagnostics for compile_commands.json issues
Revert "Use Ninja to generate `compile_commands.json` instead of a full build"
This reverts commit 0cc2448.
Further attempts to help codeql
Disable CodeQL autobuild
Configure CMake to use CodeQL's compiler wrapper
Revert to `build_mode: none`
Consider C++, Python and GitHub Actions separately
More corrections to matrixed workflow
Try different inputs
Use default path in config
Ignore Python test scripts correctly
Fix C++ instrumentation
Fix parse error
fix(ci): Resolve CodeQL PRELOAD error by isolating build environment
The CodeQL analysis was failing with an `LD_PRELOAD` error because the build-tracing environment set by the `codeql-action/init` step was being overwritten.
The custom `build-cmake` composite action was sourcing the container's `/entrypoint.sh` script, which reset the environment.
This change removes the sourcing of the entrypoint script from the `build-cmake` action. The `setup-build-env` action already configures the necessary environment, making this step redundant and disruptive to CodeQL's build tracing.
More diagnostics
fix(ci): Resolve CodeQL PRELOAD error by preserving environment
The CodeQL analysis was failing with an `LD_PRELOAD` error because the build-tracing environment set by the `codeql-action/init` step was being overwritten by a setup script.
The `configure-cmake` and `build-cmake` composite actions source the container's `/entrypoint.sh` script, which resets the environment and changes `LD_PRELOAD` to an unexpanded, generic value.
This change preserves the `LD_PRELOAD` variable across the sourcing of the entrypoint script in both actions. It saves the value before the script is sourced and restores it immediately after, ensuring that the CodeQL build tracer functions correctly while still allowing the entrypoint script to perform its necessary setup.
Simplify CI actions to attempt to prevent LD_PRELOAD mangling
Restore erroneously-removed `shell: bash` directives
Fix thinko
Better fix to check enviroment
Restore sourcing to actions
Inline configure/build to (hopefully) avoid LD_PRELOAD issues
Fix YAML issue
One last try for LD_PRELOAD
Fix thinko and add diagnostics
Remove redundant diagnostics1 parent 28beaa2 commit 073d9e6
File tree
6 files changed
+29
-49
lines changed- .github
- actions
- build-cmake
- setup-build-env
- codeql
- workflows
6 files changed
+29
-49
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | | - | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 27 | | |
31 | 28 | | |
32 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 28 | | |
32 | 29 | | |
33 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | 8 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
45 | | - | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 51 | + | |
54 | 52 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 53 | + | |
| 54 | + | |
59 | 55 | | |
60 | 56 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
80 | 69 | | |
81 | 70 | | |
82 | 71 | | |
83 | 72 | | |
84 | 73 | | |
85 | | - | |
86 | | - | |
| 74 | + | |
| 75 | + | |
0 commit comments