File tree Expand file tree Collapse file tree 3 files changed +87
-0
lines changed Expand file tree Collapse file tree 3 files changed +87
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ branches : [ main, master, dev/** ]
6+ pull_request :
7+ branches : [ main, master ]
8+
9+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.ref }}
11+ cancel-in-progress : ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' }}
12+
13+ jobs :
14+ build :
15+ runs-on : ${{ matrix.os }}
16+
17+ strategy :
18+ fail-fast : false
19+ matrix :
20+ os : [macos-latest]
21+ configuration : [Release]
22+
23+ steps :
24+ - name : Checkout code
25+ uses : actions/checkout@v4
26+
27+ - name : Setup .NET
28+ uses : actions/setup-dotnet@v4
29+ with :
30+ dotnet-version : ' 6.x'
31+
32+ - name : Install Mono
33+ run : |
34+ brew install --cask mono-mdk
35+
36+ - name : Build and pack
37+ run : make prepare build nuget CONFIGURATION=${{ matrix.configuration }}
38+
39+ - name : Upload build artifacts
40+ uses : actions/upload-artifact@v4
41+ with :
42+ name : build-artifacts-${{ matrix.os }}-${{ matrix.configuration }}
43+ path : |
44+ bin/Nuget/
45+ retention-days : 7
Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ push :
5+ branches : [ main, master, dev/** ]
6+ pull_request :
7+ branches : [ main, master ]
8+
9+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.ref }}
11+ cancel-in-progress : ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' }}
12+
13+ jobs :
14+ test :
15+ runs-on : ${{ matrix.os }}
16+
17+ strategy :
18+ fail-fast : false
19+ matrix :
20+ os : [macos-latest]
21+ configuration : [Release]
22+
23+ steps :
24+ - name : Checkout code
25+ uses : actions/checkout@v4
26+
27+ - name : Setup .NET
28+ uses : actions/setup-dotnet@v4
29+ with :
30+ dotnet-version : ' 6.x'
31+
32+ - name : Install Mono
33+ run : |
34+ brew install --cask mono-mdk
35+
36+ - name : Run tests
37+ run : make prepare all check CONFIGURATION=${{ matrix.configuration }}
Original file line number Diff line number Diff line change 1+ {
2+ "sdk" : {
3+ "version" : " 6.0.428"
4+ }
5+ }
You can’t perform that action at this time.
0 commit comments