From 6b7e1dddbf918190a9627cb56279de8a82983819 Mon Sep 17 00:00:00 2001 From: Robin Jones Date: Fri, 14 Jun 2024 18:18:08 +0100 Subject: [PATCH] Add smoke build content --- .github/workflows/smoketest-build.yml | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/smoketest-build.yml b/.github/workflows/smoketest-build.yml index e69de29b..58e58619 100644 --- a/.github/workflows/smoketest-build.yml +++ b/.github/workflows/smoketest-build.yml @@ -0,0 +1,28 @@ +name: Smoke-Build + +on: + pull_request: + branches: + - test-pipeline-build +jobs: + build: + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '8.0.x' + + - name: Restore NuGet packages + run: dotnet restore + + - name: Build solution + run: dotnet build --configuration Release