-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
34 lines (29 loc) · 757 Bytes
/
.gitlab-ci.yml
File metadata and controls
34 lines (29 loc) · 757 Bytes
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
# Default image (https://hub.docker.com/_/microsoft-dotnet-core-sdk/)
image: mcr.microsoft.com/dotnet/core/sdk:3.1
stages:
- build
- test
before_script:
- dotnet --version
# Build
build_model:
stage: build
image: mcr.microsoft.com/dotnet/framework/sdk:4.8
tags: [windows]
script:
- dotnet build AmusementPark
build_view:
stage: build
# Windows-based docker images for .NET Framework:
# https://hub.docker.com/_/microsoft-dotnet-framework-sdk/
image: mcr.microsoft.com/dotnet/framework/sdk:4.8
tags: [windows]
script:
- dotnet build AmusementPark/AmusementPark.sln
# Test
test_model:
stage: test
image: mcr.microsoft.com/dotnet/framework/sdk:4.8
tags: [windows]
script:
- dotnet test AmusementParkUnitTests