This repository was archived by the owner on Dec 29, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 required : true
88 type : boolean
99 default : false
10+
11+ godot_version :
12+ description : " Version of godot to be used"
13+ required : true
14+ type : string
1015
1116env :
1217 BASE_BRANCH : main
1318 SCONSFLAGS : " production=yes extra_suffix=luaAPI"
1419 SCONS_CACHE_LIMIT : 7168
15- GODOT_VERSION : ${{ vars.GODOT_VERSION }}-stable
20+ GODOT_VERSION : ${{ inputs.godot_version }}-stable
1621
1722jobs :
1823 android-builds :
Original file line number Diff line number Diff line change 11name : ⚙️ GDExtension Unit Tests
22on :
33 workflow_call :
4+ inputs :
5+ godot_version :
6+ description : " Version of godot to be used"
7+ required : true
8+ type : string
49
510env :
611 BASE_BRANCH : main
1217 name : GDExtension Unit Tests
1318 steps :
1419 - uses : actions/checkout@v3
15- - name : Download godot ${{ vars.GODOT_VERSION }}
16- run : wget -O godot.zip https://downloads.tuxfamily.org/godotengine/${{ vars.GODOT_VERSION }}/Godot_v${{ vars.GODOT_VERSION }}-stable_linux.x86_64.zip
20+ - name : Download godot ${{ inputs.godot_version }}
21+ run : wget -O godot.zip https://downloads.tuxfamily.org/godotengine/${{ inputs.godot_version }}/Godot_v${{ inputs.godot_version }}-stable_linux.x86_64.zip
1722 - name : Extract godot
1823 run : |
1924 7z x godot.zip
4247 name : LuaJIT GDExtension Unit Tests
4348 steps :
4449 - uses : actions/checkout@v3
45- - name : Download godot ${{ vars.GODOT_VERSION }}
46- run : wget -O godot.zip https://downloads.tuxfamily.org/godotengine/${{ vars.GODOT_VERSION }}/Godot_v${{ vars.GODOT_VERSION }}-stable_linux.x86_64.zip
50+ - name : Download godot ${{ inputs.godot_version }}
51+ run : wget -O godot.zip https://downloads.tuxfamily.org/godotengine/${{ inputs.godot_version }}/Godot_v${{ inputs.godot_version }}-stable_linux.x86_64.zip
4752 - name : Extract godot
4853 run : |
4954 7z x godot.zip
Original file line number Diff line number Diff line change 77 required : true
88 type : boolean
99 default : false
10+
11+ godot_version :
12+ description : " Version of godot to be used"
13+ required : true
14+ type : string
15+
1016env :
1117 BASE_BRANCH : main
12- GODOT_VERSION : ${{ vars.GODOT_VERSION }}-stable
18+ GODOT_VERSION : ${{ inputs.godot_version }}-stable
1319
1420jobs :
1521 gdextension :
Original file line number Diff line number Diff line change 77 required : true
88 type : boolean
99 default : false
10+
11+ godot_version :
12+ description : " Version of godot to be used"
13+ required : true
14+ type : string
1015
1116env :
1217 BASE_BRANCH : main
1318 SCONSFLAGS : " production=yes extra_suffix=luaAPI"
1419 SCONS_CACHE_LIMIT : 7168
15- GODOT_VERSION : ${{ vars.GODOT_VERSION }}-stable
20+ GODOT_VERSION : ${{ inputs.godot_version }}-stable
1621
1722jobs :
1823 ios-builds :
Original file line number Diff line number Diff line change 77 required : true
88 type : boolean
99 default : false
10+
11+ godot_version :
12+ description : " Version of godot to be used"
13+ required : true
14+ type : string
1015
1116env :
1217 BASE_BRANCH : main
1318 SCONSFLAGS : " production=yes extra_suffix=luaAPI"
1419 SCONS_CACHE_LIMIT : 7168
15- GODOT_VERSION : ${{ vars.GODOT_VERSION }}-stable
20+ GODOT_VERSION : ${{ inputs.godot_version }}-stable
1621
1722jobs :
1823 linux-builds :
Original file line number Diff line number Diff line change 77 required : true
88 type : boolean
99 default : false
10+
11+ godot_version :
12+ description : " Version of godot to be used"
13+ required : true
14+ type : string
1015
1116env :
1217 BASE_BRANCH : main
1318 SCONSFLAGS : " production=yes extra_suffix=luaAPI"
1419 SCONS_CACHE_LIMIT : 7168
15- GODOT_VERSION : ${{ vars.GODOT_VERSION }}-stable
20+ GODOT_VERSION : ${{ inputs.godot_version }}-stable
1621
1722jobs :
1823 macos-builds :
Original file line number Diff line number Diff line change 2424 - " project/demo/*"
2525
2626env :
27- GODOT_VERSION : ${{ vars.GODOT_VERSION }}
27+ GODOT_VERSION : 4.0.3
2828
2929jobs :
3030 static-checks :
@@ -37,13 +37,15 @@ jobs:
3737 uses : ./.github/workflows/linux.yml
3838 with :
3939 fullbuild : ${{ github.event_name == 'workflow_dispatch' }}
40+ godot_version : 4.0.3
4041
4142 macos-build :
4243 name : 🍎 macOS
4344 needs : static-checks
4445 uses : ./.github/workflows/macos-build.yml
4546 with :
4647 fullbuild : ${{ github.event_name == 'workflow_dispatch' }}
48+ godot_version : 4.0.3
4749
4850 macos-package :
4951 name : 🍎 macOS Package
5860 uses : ./.github/workflows/android-build.yml
5961 with :
6062 fullbuild : ${{ github.event_name == 'workflow_dispatch' }}
63+ godot_version : 4.0.3
6164
6265 android-package :
6366 name : 🤖 Android Package
7174 uses : ./.github/workflows/ios-build.yml
7275 with :
7376 fullbuild : ${{ github.event_name == 'workflow_dispatch' }}
77+ godot_version : 4.0.3
7478
7579 ios-package :
7680 name : 🍎 IOS Package
@@ -84,20 +88,23 @@ jobs:
8488 uses : ./.github/workflows/web.yml
8589 with :
8690 fullbuild : ${{ github.event_name == 'workflow_dispatch' }}
91+ godot_version : 4.0.3
8792
8893 windows-build :
8994 name : 🎨 Windows
9095 needs : static-checks
9196 uses : ./.github/workflows/windows.yml
9297 with :
9398 fullbuild : ${{ github.event_name == 'workflow_dispatch' }}
99+ godot_version : 4.0.3
94100
95101 gdextension-build :
96102 name : ⚙️ GDExtension
97103 needs : static-checks
98104 uses : ./.github/workflows/gdextension.yml
99105 with :
100106 fullbuild : ${{ github.event_name == 'workflow_dispatch' }}
107+ godot_version : 4.0.3
101108
102109 module-unit-tests :
103110 name : ⚙️ Module Unit Tests
@@ -108,6 +115,8 @@ jobs:
108115 name : ⚙️ GDExtension Unit Tests
109116 needs : gdextension-build
110117 uses : ./.github/workflows/gdextension-unit-tests.yml
118+ with :
119+ godot_version : 4.0.3
111120
112121 template-version-file :
113122 name : 📝 Create template version file
Original file line number Diff line number Diff line change 77 required : true
88 type : boolean
99 default : false
10+
11+ godot_version :
12+ description : " Version of godot to be used"
13+ required : true
14+ type : string
1015
1116env :
1217 BASE_BRANCH : main
1318 SCONSFLAGS : " production=yes extra_suffix=luaAPI optimize=size"
1419 SCONS_CACHE_LIMIT : 7168
15- GODOT_VERSION : ${{ vars.GODOT_VERSION }}-stable
20+ GODOT_VERSION : ${{ inputs.godot_version }}-stable
1621 EM_VERSION : 3.1.18
1722 EM_CACHE_FOLDER : " emsdk-cache"
1823
Original file line number Diff line number Diff line change 66 description : " Weather or not to build all targets"
77 required : true
88 type : boolean
9+
10+ godot_version :
11+ description : " Version of godot to be used"
12+ required : true
13+ type : string
914
1015env :
1116 BASE_BRANCH : main
1217 SCONSFLAGS : " production=yes extra_suffix=luaAPI"
13- SCONS_CACHE_MSVC_CONFIG : true
1418 SCONS_CACHE_LIMIT : 7168
15- GODOT_VERSION : ${{ vars.GODOT_VERSION }}-stable
19+ GODOT_VERSION : ${{ inputs.godot_version }}-stable
1620
1721jobs :
1822 windows-builds :
You can’t perform that action at this time.
0 commit comments