File tree Expand file tree Collapse file tree 4 files changed +86
-112
lines changed Expand file tree Collapse file tree 4 files changed +86
-112
lines changed Original file line number Diff line number Diff line change
1
+ name : Build&Test
2
+
3
+ on :
4
+ push :
5
+ branches : [ dev, main, master, '**' ]
6
+ pull_request :
7
+ branches : [ dev, main, master ]
8
+
9
+ jobs :
10
+
11
+ linux :
12
+ name : build and test on ${{ matrix.os }}
13
+ runs-on : ${{ matrix.os }}
14
+ strategy :
15
+ matrix :
16
+ os : [ ubuntu-latest ]
17
+
18
+ services :
19
+ redis6379 :
20
+ image : redis
21
+ ports :
22
+ - 6379:6379
23
+ redis6380 :
24
+ image : redis
25
+ ports :
26
+ - 6380:6379
27
+ redis6388 :
28
+ image : redis
29
+ ports :
30
+ - 6388:6379
31
+ memcached1 :
32
+ image : bitnami/memcached
33
+ ports :
34
+ - 11211:11211
35
+ memcached2 :
36
+ image : bitnami/memcached
37
+ ports :
38
+ - 11212:11211
39
+
40
+ steps :
41
+ - uses : actions/checkout@v2
42
+ - name : Setup .NET SDK 6.0.x
43
+ uses : actions/setup-dotnet@v1
44
+ with :
45
+ dotnet-version : 6.0.x
46
+
47
+ - name : Show dotnet Version
48
+ run : |
49
+ dotnet --list-sdks
50
+ dotnet --list-runtimes
51
+
52
+ - name : Show docker info
53
+ run : |
54
+ docker ps -a
55
+
56
+ - name : Build with dotnet
57
+ run : |
58
+ dotnet build --configuration Release /home/runner/work/EasyCaching/EasyCaching/EasyCaching.sln
59
+
60
+ - name : Run tests on net6.0
61
+ run : |
62
+ dotnet test --framework=net6.0 /home/runner/work/EasyCaching/EasyCaching/test/EasyCaching.UnitTests/EasyCaching.UnitTests.csproj
63
+
64
+ windows :
65
+ name : build on ${{ matrix.os }}
66
+ runs-on : ${{ matrix.os }}
67
+ strategy :
68
+ matrix :
69
+ os : [ windows-latest ]
70
+
71
+ steps :
72
+ - uses : actions/checkout@v2
73
+ - name : Setup .NET SDK 6.0.x
74
+ uses : actions/setup-dotnet@v1
75
+ with :
76
+ dotnet-version : 6.0.x
77
+
78
+ - name : Show dotnet Version
79
+ run : |
80
+ dotnet --list-sdks
81
+ dotnet --list-runtimes
82
+
83
+ - name : Build with dotnet
84
+ run : |
85
+ dotnet build --configuration Release D:\a\EasyCaching\EasyCaching\EasyCaching.sln
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -11,8 +11,7 @@ EasyCaching is an open source caching library that contains basic usages and som
11
11
12
12
| Platform | Build Server | Master Status | Dev Status |
13
13
| --------- | ------------- | ---------| ---------|
14
- | AppVeyor | Windows/Linux | [ ![ Build status] ( https://ci.appveyor.com/api/projects/status/4x6qal9c1r10wn6x/branch/master?svg=true )] ( https://ci.appveyor.com/project/catcherwong/easycaching-48okb/branch/master ) | [ ![ Build status] ( https://ci.appveyor.com/api/projects/status/4x6qal9c1r10wn6x/branch/dev?svg=true )] ( https://ci.appveyor.com/project/catcherwong/easycaching-48okb/branch/dev ) |
15
- | Travis | Linux/OSX | [ ![ Build Status] ( https://travis-ci.org/dotnetcore/EasyCaching.svg?branch=master )] ( https://travis-ci.org/dotnetcore/EasyCaching ) | [ ![ Build Status] ( https://travis-ci.org/dotnetcore/EasyCaching.svg?branch=dev )] ( https://travis-ci.org/dotnetcore/EasyCaching ) |
14
+ | Github Action | Linux/Windows | [ ![ Build&Test] ( https://github.com/dotnetcore/EasyCaching/actions/workflows/build.yml/badge.svg?branch=master )] ( https://github.com/dotnetcore/EasyCaching/actions/workflows/build.yml ) | [ ![ Build&Test] ( https://github.com/dotnetcore/EasyCaching/actions/workflows/build.yml/badge.svg?branch=dev )] ( https://github.com/dotnetcore/EasyCaching/actions/workflows/build.yml ) |
16
15
17
16
## Nuget Packages
18
17
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments