Skip to content

Commit

Permalink
update sanity workflow (#2487)
Browse files Browse the repository at this point in the history
* update sanity workflow

* typo
  • Loading branch information
TimothyMothra authored Dec 2, 2021
1 parent 92aeb50 commit ee41397
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 29 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/examples-sanity.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/sanity.yml
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 }}

0 comments on commit ee41397

Please sign in to comment.