File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : C/C++ CI
22
3- on : [workflow_dispatch ]
3+ on : [workflow_call ]
44
55jobs :
66 build :
Original file line number Diff line number Diff line change 1+ name : Pre-merge checkers
2+
3+ on : [pull_request, push]
4+
5+ jobs :
6+ check-backends :
7+ name : Check backends
8+ uses : ./.github/workflows/ccpp.yml
9+
10+ check-docs :
11+ name : Check documentation
12+ uses : ./.github/workflows/docs.yml
13+
14+ check-webver :
15+ name : Check web version
16+ uses : ./.github/workflows/webver.yml
Original file line number Diff line number Diff line change 77jobs :
88 build-docs :
99 uses : ./.github/workflows/docs.yml
10+ with :
11+ publish : true
1012
1113 build-webver :
1214 uses : ./.github/workflows/webver.yml
15+ with :
16+ publish : true
1317
1418 deploy-ghpages :
1519 needs : [build-docs, build-webver]
Original file line number Diff line number Diff line change 11name : Build documentation
22
3- on : [push, pull_request, workflow_call]
3+ on :
4+ workflow_call :
5+ inputs :
6+ publish :
7+ type : boolean
8+ required : false
9+ default : false
410
511jobs :
612 build-documentation :
1521 - name : build doc
1622 run : make docs
1723 - name : Upload docs artifact
24+ if : inputs.publish
1825 uses : actions/upload-artifact@v4
1926 with :
2027 name : doc
Original file line number Diff line number Diff line change 11name : Build Web Version
22
3- on : [push, pull_request, workflow_call]
3+ on :
4+ workflow_call :
5+ inputs :
6+ publish :
7+ type : boolean
8+ required : false
9+ default : false
410
511jobs :
612 build-webver :
@@ -24,10 +30,10 @@ jobs:
2430 run : embuilder build sdl3
2531
2632 - name : Build web demo
27- # working-directory: demo/sdl3_renderer
2833 run : make webver
2934
3035 - name : Upload webversion artifact
36+ if : inputs.publish
3137 uses : actions/upload-artifact@v4
3238 with :
3339 name : web
You can’t perform that action at this time.
0 commit comments