-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbitbucket-pipelines.yml
38 lines (36 loc) · 1.13 KB
/
bitbucket-pipelines.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
image: microsoft/dotnet:sdk
definitions:
steps:
- step: &buildTestPack
name: Latest .net Core X.X
image: IMAGE
caches:
- dotnetcore
script:
- git submodule update --init
- scripts/common/dotnetcore/buildTestPack.sh
pipelines:
branches:
feature/*:
- parallel:
- step:
<<: *buildTestPack
name: Latest .net Core 2.1
image: mcr.microsoft.com/dotnet/core/sdk:2.1
# we test on different versions, but the artifact we will publish is built with 2.1
artifacts:
- scratch/bin/**/*.nupkg
- step:
<<: *buildTestPack
name: Latest .net Core 2.2
image: mcr.microsoft.com/dotnet/core/sdk:2.2
- step:
<<: *buildTestPack
name: Latest .net Core 3.0
image: mcr.microsoft.com/dotnet/core/sdk:3.0
- step:
name: Tag
image: mcr.microsoft.com/dotnet/core/sdk:2.2
script:
- git submodule update --init
- scripts/common/git/tagBitbucket.sh