-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
42 additions
and
29 deletions.
There are no files selected for viewing
This file was deleted.
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,42 @@ | ||
# Syntax: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions | ||
# .NET CLI: https://docs.microsoft.com/dotnet/core/tools/ | ||
# Description: The purpose of this workflow is to verify that every solution in the repo successfully compiles. | ||
|
||
name: Sanity Build | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
sanity-build: | ||
|
||
runs-on: windows-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
solution: [ | ||
./NETCORE/ApplicationInsights.AspNetCore.sln, | ||
./Everything.sln, | ||
./examples/Examples.sln, | ||
./IntegrationTests.sln, | ||
./LOGGING/Logging.sln, | ||
./BASE/Microsoft.ApplicationInsights.sln, | ||
./WEB/Src/Microsoft.ApplicationInsights.Web.sln] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 6.0.x | ||
|
||
- name: Restore | ||
run: dotnet restore ${{ matrix.solution }} | ||
|
||
- name: Build | ||
run: dotnet build ${{ matrix.solution }} |