-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (45 loc) · 1.24 KB
/
build-emergence-web.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
name: Build and test
on:
push:
branches: [ dev ]
paths-ignore:
- 'docs/**'
pull_request:
branches: [ dev ]
paths-ignore:
- 'docs/**'
jobs:
build-web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1.7.2
with:
dotnet-version: 5.0.100
- name: Install dependencies
run: dotnet restore Emergence.sln
working-directory: src
- name: Build
run: dotnet build Emergence.sln --configuration Release --no-restore
working-directory: src
- name: Test
run: dotnet test Emergence.sln --no-restore --verbosity normal
working-directory: src
build-fn:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.102
- name: Install dependencies
run: dotnet restore Emergence.Functions.sln
working-directory: src
- name: Build
run: dotnet build Emergence.Functions.sln --configuration Release --no-restore
working-directory: src
- name: Test
run: dotnet test Emergence.Functions.sln --no-restore --verbosity normal
working-directory: src