File tree Expand file tree Collapse file tree 2 files changed +65
-0
lines changed
Expand file tree Collapse file tree 2 files changed +65
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build (Windows)
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ build-type :
7+ description : Build in Release or Debug?
8+ required : true
9+ default : Debug
10+ type : choice
11+ options :
12+ - Debug
13+ - Release
14+ workflow_call :
15+ inputs :
16+ build-type :
17+ required : true
18+ default : Debug
19+ type : string
20+
21+ jobs :
22+ #
23+ # Build Stride for Windows
24+ #
25+ Windows :
26+ name : Build (${{ github.event.inputs.build-type || inputs.build-type }})
27+ runs-on : windows-latest
28+ steps :
29+ - uses : actions/checkout@v4
30+ with :
31+ fetch-depth : 1
32+ - uses : actions/setup-dotnet@v4
33+ with :
34+ dotnet-version : ' 8.0.x'
35+ - uses : microsoft/setup-msbuild@v2
36+ - name : Build Stride
37+ run : msbuild build\Stride.build -t:BuildWindows -m -nr:false -p:StrideSkipUnitTests=true -p:StrideSkipAutoPack=true -p:StrideEnableCodeAnalysis=true
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - xplat-editor
7+ pull_request :
8+ branches :
9+ - xplat-editor
10+ types : [opened, synchronize, reopened, ready_for_review]
11+ workflow_dispatch :
12+
13+ jobs :
14+ Setup :
15+ if : ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event.pull_request.draft == false }}
16+ runs-on : ubuntu-latest
17+ steps :
18+ - run : exit 0
19+
20+ #
21+ # Build Stride for Windows
22+ #
23+ Windows-Debug :
24+ needs : Setup
25+ uses : ./.github/workflows/build-windows.yml
26+ secrets : inherit
27+ with :
28+ build-type : Debug
You can’t perform that action at this time.
0 commit comments