Don't use shared compilation

This commit is contained in:
Edoardo Pirovano 2021-09-21 15:28:59 +01:00
parent 8caa0808ee
commit 014d3ea60a
No known key found for this signature in database
GPG key ID: 047556B5D93FFE28
2 changed files with 5 additions and 5 deletions

View file

@ -171,7 +171,7 @@ jobs:
- name: Build code
run: |
. ./codeql-runner/codeql-env.sh
$CODEQL_RUNNER dotnet build
$CODEQL_RUNNER dotnet build /p:UseSharedCompilation=false
- name: Run analyze
run: |
@ -211,13 +211,13 @@ jobs:
run: |
cat ./codeql-runner/codeql-env.sh | Invoke-Expression
$Env:CODEQL_EXTRACTOR_CSHARP_ROOT = ""
& $Env:CODEQL_RUNNER dotnet build
& $Env:CODEQL_RUNNER dotnet build /p:UseSharedCompilation=false
- name: Upload tracer logs
uses: actions/upload-artifact@v2
with:
name: tracer-logs
path: ./codeql-runner
path: ./codeql-runner/compound-build-tracer.log
- name: Run analyze
run: |
@ -255,7 +255,7 @@ jobs:
shell: bash
run: |
. ./codeql-runner/codeql-env.sh
$CODEQL_RUNNER dotnet build
$CODEQL_RUNNER dotnet build /p:UseSharedCompilation=false
- name: Run analyze
run: |

View file

@ -2,7 +2,7 @@
gcc -o main main.c
dotnet build
dotnet build -p:UseSharedCompilation=false
javac Main.java