File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build-and-test :
11+ runs-on : ${{ matrix.os }}
12+ strategy :
13+ matrix :
14+ include :
15+ - os : ubuntu-latest
16+ solution : src/UnoPropertyGrid.slnx
17+ - os : macos-latest
18+ solution : src/UnoPropertyGrid.slnx
19+ - os : windows-latest
20+ solution : src/UnoPropertyGrid.slnx
21+ steps :
22+ - uses : actions/checkout@v4
23+ with :
24+ fetch-depth : 0
25+ submodules : recursive
26+ - name : Setup .NET
27+ uses : actions/setup-dotnet@v4
28+ with :
29+ dotnet-version : ' 10.x'
30+ - name : Build (Windows)
31+ if : runner.os == 'Windows'
32+ run : ./build.windows.bat Release
33+ - name : Build (macOS/Linux)
34+ if : runner.os != 'Windows'
35+ run : dotnet build -c Release ${{ matrix.solution }}
36+ - name : Run unit tests
37+ run : dotnet test --no-build -c Release --verbosity minimal ${{ matrix.solution }}
You can’t perform that action at this time.
0 commit comments