Skip to content

Commit

Permalink
Create buildPipeline.yml (kgrzybek#88)
Browse files Browse the repository at this point in the history
* Create buildPipeline.yml

* Remove build DB project from Release configuration build

* Add GitHub action badge
  • Loading branch information
kgrzybek authored Jul 20, 2020
1 parent 65098b0 commit 4ae525b
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/buildPipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build Pipeline

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.301
- name: Install dependencies
run: dotnet restore
working-directory: ./src
- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: ./src
- name: Run Unit Tests
run: dotnet test --configuration Release --no-restore --verbosity minimal --filter UnitTests
working-directory: ./src
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

Full Modular Monolith .NET application with Domain-Driven Design approach.

[![Build Status](https://dev.azure.com/kgr0189/kgr/_apis/build/status/kgrzybek.modular-monolith-with-ddd?branchName=master)](https://dev.azure.com/kgr0189/kgr/_build/latest?definitionId=1&branchName=master)
## CI

![](https://github.com/kgrzybek/modular-monolith-with-ddd/workflows/Build%20Pipeline/badge.svg)

## Table of contents

Expand Down
2 changes: 0 additions & 2 deletions src/CompanyName.MyMeetings.sln
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,6 @@ Global
{43DBBB02-CA43-42AD-BE21-04AC867BA168}.Debug|Any CPU.Build.0 = Debug|Any CPU
{43DBBB02-CA43-42AD-BE21-04AC867BA168}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{43DBBB02-CA43-42AD-BE21-04AC867BA168}.Release|Any CPU.ActiveCfg = Release|Any CPU
{43DBBB02-CA43-42AD-BE21-04AC867BA168}.Release|Any CPU.Build.0 = Release|Any CPU
{43DBBB02-CA43-42AD-BE21-04AC867BA168}.Release|Any CPU.Deploy.0 = Release|Any CPU
{0BC12804-A858-427B-88E2-F9CDE9E97986}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0BC12804-A858-427B-88E2-F9CDE9E97986}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0BC12804-A858-427B-88E2-F9CDE9E97986}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down

0 comments on commit 4ae525b

Please sign in to comment.