Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
- name: Run manual build steps
if: matrix.build-mode == 'manual'
shell: bash
run: dotnet build src/Microsoft.Data.SqlClient.slnx
run: dotnet build build.proj -t:BuildAll
Comment thread
paulmedynski marked this conversation as resolved.

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
Expand Down
31 changes: 18 additions & 13 deletions BUILDGUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,23 @@ it from the `dotnet build` command.
The following build targets can be used to build the following projects. All targets will implicitly build any other
projects they depend on.

| `<build_target>` | Description |
|-----------------------------|---------------------------------------------------------------------------------|
| `Build` | Builds all projects for all platforms |
| `BuildAbstractions` | Builds Microsoft.Data.SqlClient.Extensions.Abstractions |
| `BuildAkvProvider` | Builds Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider |
| `BuildAzure` | Builds Microsoft.Data.SqlClient.Extensions.Azure |
| `BuildLogging` | Builds Microsoft.Data.SqlClient.Internal.Logging |
| `BuildSqlClient` | Builds all variants of Microsoft.Data.SqlClient, for all platforms |
| `BuildSqlClientRef` | Builds the reference assemblies for Microsoft.Data.SqlClient |
| `BuildSqlClientUnsupported` | Builds the "unsupported platform" assemblies for Microsoft.Data.SqlClient |
| `BuildSqlClientUnix` | Builds the Unix-specific implementation binaries of Microsoft.Data.SqlClient |
| `BuildSqlClientWindows` | Builds the Windows-specific implementation binaries of Microsoft.Data.SqlClient |
| `BuildSqlServer` | Builds Microsoft.SqlServer.Server |
| `<build_target>` | Description |
|-------------------------------|---------------------------------------------------------------------------------|
| `Build` | Builds all driver projects for all platforms |
| `BuildAbstractions` | Builds Microsoft.Data.SqlClient.Extensions.Abstractions |
| `BuildAkvProvider` | Builds Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider |
| `BuildAll` | Builds all projects, tests, and samples for all supported OS combinations |
| `BuildAzure` | Builds Microsoft.Data.SqlClient.Extensions.Azure |
| `BuildLogging` | Builds Microsoft.Data.SqlClient.Internal.Logging |
| `BuildSamples` | Builds the sample projects under `doc/samples/` |
| `BuildSqlClient` | Builds all variants of Microsoft.Data.SqlClient, for all platforms |
| `BuildSqlClientNotSupported` | Builds the "unsupported platform" assemblies for Microsoft.Data.SqlClient |
| `BuildSqlClientRef` | Builds the reference assemblies for Microsoft.Data.SqlClient |
| `BuildSqlClientUnix` | Builds the Unix-specific implementation binaries of Microsoft.Data.SqlClient |
| `BuildSqlClientWindows` | Builds the Windows-specific implementation binaries of Microsoft.Data.SqlClient |
| `BuildSqlServer` | Builds Microsoft.SqlServer.Server |
| `BuildTests` | Builds all test projects for all supported OS combinations |
| `Clean` | Removes build and test output directories |

A selection of parameters for build targets in `build.proj` can be found below:

Expand Down Expand Up @@ -139,6 +143,7 @@ dotnet build -t:<test_target> [optional_parameters]
| `<test_target>` | Description |
|----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|
| `Test` | Runs all tests in the repository for all platforms supported by the host OS. _This will take a considerable amount of time and is not recommended_. |
| `TestAbstractions` | Runs all tests for Microsoft.Data.SqlClient.Extensions.Abstractions |
| `TestAzure` | Runs all tests for Microsoft.Data.SqlClient.Extensions.Azure |
| `TestSqlClient` | Runs all tests for Microsoft.Data.SqlClient. |
| `TestSqlClientFunctional` | Runs the "functional" test project for Microsoft.Data.SqlClient. These are a mix of unit and integration tests against live servers. |
Expand Down
Loading
Loading