mirror of
https://github.com/github/codeql-action.git
synced 2025-12-29 18:50:25 +08:00
28 lines
768 B
YAML
28 lines
768 B
YAML
name: "autobuild-action"
|
|
description: "Tests that the C# autobuild action works"
|
|
operatingSystems: ["ubuntu", "macos", "windows"]
|
|
versions: ["linked"]
|
|
installDotNet: true
|
|
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
|
|
- name: Check database
|
|
run: |
|
|
cd "$RUNNER_TEMP/codeql_databases"
|
|
if [[ ! -d csharp ]]; then
|
|
echo "Did not find a C# database"
|
|
exit 1
|
|
fi
|