-
-
Notifications
You must be signed in to change notification settings - Fork 1
65 lines (55 loc) · 1.32 KB
/
dotnet.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
53
54
55
56
57
58
59
60
61
62
63
64
65
name: DotNet CI
on:
push:
branches:
- main
paths-ignore:
- 'documentation/**'
- 'docs/**'
- 'azure-pipelines.yml'
pull_request:
branches:
- main
paths-ignore:
- 'documentation/**'
- 'docs/**'
- 'azure-pipelines.yml'
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
node_version: 16.x
pg_db: marten_testing
pg_user: postgres
CONFIGURATION: Release
FRAMEWORK: net8.0
DISABLE_TEST_PARALLELIZATION: true
NUKE_TELEMETRY_OPTOUT: true
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: Install .NET 7.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Install .NET 8.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: compile
run: ./build.sh compile
shell: bash
- name: test-core
if: ${{ success() || failure() }}
run: ./build.sh test-core
shell: bash
- name: test-codegen
if: ${{ success() || failure() }}
run: ./build.sh test-codegen
shell: bash
- name: test-command-line
if: ${{ success() || failure() }}
run: ./build.sh test-command-line
shell: bash