-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1149 from github/criemen/runner-autobuilders
autobuild: Update tests for C# on macOS
- Loading branch information
Showing
6 changed files
with
132 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: "autobuild-action" | ||
description: "Tests that the C# autobuild action works" | ||
versions: ["latest"] | ||
steps: | ||
- uses: ./../action/init | ||
with: | ||
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 | ||
- name: Check database | ||
shell: bash | ||
run: | | ||
cd "$RUNNER_TEMP/codeql_databases" | ||
if [[ ! -d csharp ]]; then | ||
echo "Did not find a C# database" | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters