Skip to content

Commit c6cfa86

Browse files
Don't use shared compilation
1 parent 8caa080 commit c6cfa86

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/pr-checks.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171
- name: Build code
172172
run: |
173173
. ./codeql-runner/codeql-env.sh
174-
$CODEQL_RUNNER dotnet build
174+
$CODEQL_RUNNER dotnet build /p:UseSharedCompilation=false
175175
176176
- name: Run analyze
177177
run: |
@@ -211,13 +211,13 @@ jobs:
211211
run: |
212212
cat ./codeql-runner/codeql-env.sh | Invoke-Expression
213213
$Env:CODEQL_EXTRACTOR_CSHARP_ROOT = ""
214-
& $Env:CODEQL_RUNNER dotnet build
214+
& $Env:CODEQL_RUNNER dotnet build /p:UseSharedCompilation=false
215215
216216
- name: Upload tracer logs
217217
uses: actions/upload-artifact@v2
218218
with:
219219
name: tracer-logs
220-
path: ./codeql-runner
220+
path: ./codeql-runner/compound-build-tracer.log
221221

222222
- name: Run analyze
223223
run: |
@@ -255,7 +255,7 @@ jobs:
255255
shell: bash
256256
run: |
257257
. ./codeql-runner/codeql-env.sh
258-
$CODEQL_RUNNER dotnet build
258+
$CODEQL_RUNNER dotnet build /p:UseSharedCompilation=false
259259
260260
- name: Run analyze
261261
run: |

tests/multi-language-repo/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
gcc -o main main.c
44

5-
dotnet build
5+
dotnet build /p:UseSharedCompilation=false
66

77
javac Main.java
88

0 commit comments

Comments
 (0)