From 58faf9d60cf0cce77d8bc08ecdbbc468904745f2 Mon Sep 17 00:00:00 2001 From: Aditya Sharad Date: Mon, 25 Jul 2022 14:35:50 -0700 Subject: [PATCH] Actions: Disable the CLR tracer in C# autobuild test Ensure that this succeeds even if the legacy CLR tracer is not enabled. The combination of the regular tracer and the SIP workaround within Actions should be sufficient for this to pass. --- .github/workflows/__autobuild-action.yml | 8 ++++++++ pr-checks/checks/autobuild-action.yml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/.github/workflows/__autobuild-action.yml b/.github/workflows/__autobuild-action.yml index 644f6111c..0ccf1c366 100644 --- a/.github/workflows/__autobuild-action.yml +++ b/.github/workflows/__autobuild-action.yml @@ -49,6 +49,14 @@ jobs: languages: csharp tools: ${{ steps.prepare-test.outputs.tools-url }} - uses: ./../action/autobuild + env: + # Explicitly disable the CLR tracer. + COR_ENABLE_PROFILING: '' + COR_PROFILER: '' + COR_PROFILER_PATH_64: '' + CORECLR_ENABLE_PROFILING: '' + CORECLR_PROFILER: '' + CORECLR_PROFILER_PATH_64: '' - uses: ./../action/analyze env: TEST_MODE: true diff --git a/pr-checks/checks/autobuild-action.yml b/pr-checks/checks/autobuild-action.yml index 761b12114..7ce9bf2c9 100644 --- a/pr-checks/checks/autobuild-action.yml +++ b/pr-checks/checks/autobuild-action.yml @@ -7,6 +7,14 @@ steps: languages: csharp tools: ${{ steps.prepare-test.outputs.tools-url }} - uses: ./../action/autobuild + env: + # Explicitly disable the CLR tracer. + COR_ENABLE_PROFILING: "" + COR_PROFILER: "" + COR_PROFILER_PATH_64: "" + CORECLR_ENABLE_PROFILING: "" + CORECLR_PROFILER: "" + CORECLR_PROFILER_PATH_64: "" - uses: ./../action/analyze env: TEST_MODE: true