Add pipelines

This commit is contained in:
2024-08-21 12:59:02 +02:00
parent d6b294c889
commit 36dc04fb01
6 changed files with 130 additions and 1 deletions
+44
View File
@@ -0,0 +1,44 @@
name: Net.Maui.Extensions CI Pipeline
on:
pull_request:
branches:
- master
paths:
- Net.Maui.Extensions/**
- ".github/workflows/ci.yaml"
jobs:
build:
strategy:
matrix:
targetplatform: [x64]
runs-on: windows-latest
env:
Solution_Path: Net.Maui.Extensions.sln
Source_Project_Path: Net.Maui.Extensions\Net.Maui.Extensions.csproj
Actions_Allow_Unsecure_Commands: true
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v1.0.1
- name: Restore Project
run: msbuild $env:Solution_Path /t:Restore /p:Configuration=$env:Configuration /p:RuntimeIdentifier=$env:RuntimeIdentifier
env:
Configuration: Debug
RuntimeIdentifier: win-${{ matrix.targetplatform }}