-
Notifications
You must be signed in to change notification settings - Fork 224
52 lines (52 loc) · 1.92 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: CI
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
env:
DOTNET_NOLOGO: true
jobs:
build:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: windows-2019
name: Windows
- os: ubuntu-20.04
name: Linux
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Build composition gateway demo
run: dotnet build demos/asp-net-core/Divergent.CompositionGateway.sln --configuration Release
- name: Build composition wedsite demo
run: dotnet build demos/asp-net-core/Divergent.Website.sln --configuration Release
- name: Build exercise 01 - before
run: dotnet build exercises/01-composite-ui/before --configuration Release
- name: Build exercise 01 - after
run: dotnet build exercises/01-composite-ui/after --configuration Release
- name: Build exercise 02 - before
run: dotnet build exercises/02-publish-subscribe/before --configuration Release
- name: Build exercise 02 - after
run: dotnet build exercises/02-publish-subscribe/after --configuration Release
- name: Build exercise 03 - before
run: dotnet build exercises/03-sagas/before --configuration Release
- name: Build exercise 03 - after
run: dotnet build exercises/03-sagas/after --configuration Release
- name: Build exercise 04 - before
run: dotnet build exercises/04-integration/before --configuration Release
- name: Build exercise 04 - after
run: dotnet build exercises/04-integration/after --configuration Release
# - name: CompositeUI demo
# run: dotnet build demos/asp-net-core/Divergent.Website.sln --configuration Release