mirror of
https://github.com/colhountech/DarkUI.Net5.git
synced 2025-07-03 07:39:28 +03:00
Merge branch 'master' of https://github.com/colhountech/DarkUI.Net5
This commit is contained in:
commit
6aea4a7a0d
36
.github/workflows/dotnet.yml
vendored
Normal file
36
.github/workflows/dotnet.yml
vendored
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
env:
|
||||||
|
BUILD_CONFIG: 'Release'
|
||||||
|
SOLUTION: 'DarkUI.sln'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Setup NuGet
|
||||||
|
uses: NuGet/setup-nuget@v1.0.5
|
||||||
|
|
||||||
|
- name: Restore dependencies
|
||||||
|
run: nuget restore $SOLUTION
|
||||||
|
|
||||||
|
- name: Setup .NET
|
||||||
|
uses: actions/setup-dotnet@v1
|
||||||
|
with:
|
||||||
|
dotnet-version: 5.0.x
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: dotnet build $SOLUTION --configuration $BUILD_CONFIG --no-restore
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: dotnet test /p:Configuration=$env:BUILD_CONFIG --no-restore --no-build --verbosity normal
|
Loading…
x
Reference in New Issue
Block a user