Skip to content

Commit

Permalink
Added .NET CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lpeyr committed Jul 3, 2023
1 parent ae9347c commit cbbfcd8
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: .NET CI

on:
push:
pull_request:

jobs:

build:
runs-on: windows-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

# Install the .NET workload
- name: Install .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x

# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/[email protected]

- name: Build App
run: dotnet build DayBar\DayBar.csproj -c Release

- name: Test App
run: dotnet test DayBar\DayBar.csproj

0 comments on commit cbbfcd8

Please sign in to comment.