File tree Expand file tree Collapse file tree 2 files changed +49
-2
lines changed
Expand file tree Collapse file tree 2 files changed +49
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Build (Linux)
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 Linux
24+ #
25+ Windows :
26+ name : Build (${{ github.event.inputs.build-type || inputs.build-type }})
27+ runs-on : ubuntu-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+ - name : Build Stride
36+ run : dotnet build build/Stride.Runtime.sln -m:1 -nr:false -v:m -p:StridePlatforms=Linux -p:StridePlatform=Linux -p:StrideGraphicsApis=OpenGL -p:StrideSkipUnitTests=true -p:StrideSkipAutoPack=true
37+
Original file line number Diff line number Diff line change 2222 #
2323 # Build Stride for Windows
2424 #
25- Windows-Debug :
25+ # Windows-Debug:
26+ # needs: Setup
27+ # uses: ./.github/workflows/build-windows.yml
28+ # secrets: inherit
29+ # with:
30+ # build-type: Debug
31+
32+ #
33+ # Build Stride for Linux
34+ #
35+ Windows-Linux :
2636 needs : Setup
27- uses : ./.github/workflows/build-windows .yml
37+ uses : ./.github/workflows/build-linux .yml
2838 secrets : inherit
2939 with :
3040 build-type : Debug
You can’t perform that action at this time.
0 commit comments