Skip to content

Commit

Permalink
Don't use shared compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardopirovano committed Sep 21, 2021
1 parent 8caa080 commit 014d3ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion tests/multi-language-repo/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

gcc -o main main.c

dotnet build
dotnet build -p:UseSharedCompilation=false

javac Main.java

0 comments on commit 014d3ea

Please sign in to comment.