Add a separate job to test running the experiment build in the CI

This commit is contained in:
michael-hawker 2022-04-05 14:29:40 -07:00 коммит произвёл Michael Hawker MSFT (XAML Llama)
Родитель c93499424c
Коммит 4700663607
1 изменённых файлов: 21 добавлений и 0 удалений

21
.github/workflows/build.yml поставляемый
Просмотреть файл

@ -68,3 +68,24 @@ jobs:
- name: Push packages
if: ${{github.ref == 'refs/heads/main'}}
run: dotnet nuget push "**/*.nupkg" --api-key dummy --source LabsFeed --skip-duplicate
# Test/temp job to build a single experiment to ensure our changes work for both our main types of solutions at the moment
experiment:
runs-on: windows-latest
steps:
- name: Install .NET 6 SDK
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.201'
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout Repository
uses: actions/checkout@v2
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.0.3
- name: MSBuild
working-directory: ./Labs/CanvasLayout
run: msbuild.exe CanvasLayout.sln /restore -p:Configuration=Release