Skip to content

Commit

Permalink
ci: remove build
Browse files Browse the repository at this point in the history
It appears that this can't (easily) be automated at the moment.
Godot requires setting up Gradle using the GUI to export to Android.

Signed-off-by: Eli <[email protected]>
  • Loading branch information
lishaduck committed Feb 27, 2024
1 parent 0aa8fdb commit 5bc3f52
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 60 deletions.
45 changes: 1 addition & 44 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: CI/CD
name: CI

on:
push:
Expand All @@ -21,49 +21,6 @@ permissions:
contents: read

jobs:
build:
name: Build
needs: []
timeout-minutes: ${{ (matrix.target == 'web') && 5 || 10 }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
target:
- quest
include:
- target: quest
os: ubuntu-latest
godot-flags: --export-release "Meta Quest" build/index.html

steps:
- name: 📚 Git checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
submodules: recursive
clean: true
persist-credentials: false
set-safe-directory: true
- name: 🤖 Set up Godot
uses: chickensoft-games/setup-godot@d3fbddfbafb76fbce64d878aa3d31090e5d0fe0c # v1.5.6
with:
version: ${{ env.GODOT_VERSION }}
use-dotnet: false
- name: 🔬 Verify setup
run: godot --version
- name: 🔌 Make and delete directories
run: mkdir build/ && rm -rf addons/{godot-git-plugin,wakatime}
- name: 🔧 Build
run: godot --headless ${{ matrix.godot-flags }}
- name: ⚙️ Upload build
if: matrix.target == 'quest'
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: build-${{ matrix.target }}
path: "./build"
if-no-files-found: error

lint:
name: Linting
needs: []
Expand Down
36 changes: 20 additions & 16 deletions export_presets.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ gradle_build/use_gradle_build=true
gradle_build/export_format=0
gradle_build/min_sdk=""
gradle_build/target_sdk=""
plugins/GodotOpenXRKHR=false
plugins/GodotOpenXRLynx=false
plugins/GodotOpenXRPico=false
plugins/GodotOpenXRMeta=true
architectures/armeabi-v7a=false
architectures/arm64-v8a=true
architectures/x86=false
Expand Down Expand Up @@ -304,10 +308,6 @@ permissions/write_sms=false
permissions/write_social_stream=false
permissions/write_sync_settings=false
permissions/write_user_dictionary=false
plugins/GodotOpenXRKHR=false
plugins/GodotOpenXRLynx=false
plugins/GodotOpenXRMeta=true
plugins/GodotOpenXRPico=false
xr_features/hand_tracking=1
xr_features/hand_tracking_frequency=0
xr_features/passthrough=1
Expand All @@ -324,6 +324,7 @@ meta_xr_features/quest_2_support=true
meta_xr_features/quest_3_support=true
meta_xr_features/quest_pro_support=true
xr_features/enable_khronos_plugin=false
meta_xr_features/use_anchor_api=false

[preset.3]

Expand All @@ -349,6 +350,10 @@ gradle_build/use_gradle_build=true
gradle_build/export_format=0
gradle_build/min_sdk=""
gradle_build/target_sdk=""
plugins/GodotOpenXRKHR=false
plugins/GodotOpenXRLynx=false
plugins/GodotOpenXRPico=true
plugins/GodotOpenXRMeta=false
architectures/armeabi-v7a=false
architectures/arm64-v8a=true
architectures/x86=false
Expand Down Expand Up @@ -526,10 +531,6 @@ permissions/write_sms=false
permissions/write_social_stream=false
permissions/write_sync_settings=false
permissions/write_user_dictionary=false
plugins/GodotOpenXRKHR=false
plugins/GodotOpenXRLynx=false
plugins/GodotOpenXRMeta=false
plugins/GodotOpenXRPico=true
xr_features/hand_tracking=1
xr_features/hand_tracking_frequency=0
xr_features/passthrough=1
Expand All @@ -546,6 +547,7 @@ meta_xr_features/quest_2_support=true
meta_xr_features/quest_3_support=true
meta_xr_features/quest_pro_support=true
xr_features/enable_khronos_plugin=false
meta_xr_features/use_anchor_api=false

[preset.4]

Expand All @@ -571,6 +573,10 @@ gradle_build/use_gradle_build=true
gradle_build/export_format=0
gradle_build/min_sdk=""
gradle_build/target_sdk=""
plugins/GodotOpenXRKHR=false
plugins/GodotOpenXRLynx=true
plugins/GodotOpenXRPico=false
plugins/GodotOpenXRMeta=false
architectures/armeabi-v7a=false
architectures/arm64-v8a=true
architectures/x86=false
Expand Down Expand Up @@ -748,10 +754,6 @@ permissions/write_sms=false
permissions/write_social_stream=false
permissions/write_sync_settings=false
permissions/write_user_dictionary=false
plugins/GodotOpenXRKHR=false
plugins/GodotOpenXRLynx=true
plugins/GodotOpenXRMeta=false
plugins/GodotOpenXRPico=false
xr_features/hand_tracking=0
xr_features/hand_tracking_frequency=0
xr_features/passthrough=0
Expand All @@ -768,6 +770,7 @@ meta_xr_features/quest_2_support=true
meta_xr_features/quest_3_support=true
meta_xr_features/quest_pro_support=true
xr_features/enable_khronos_plugin=false
meta_xr_features/use_anchor_api=false

[preset.5]

Expand All @@ -793,6 +796,10 @@ gradle_build/use_gradle_build=true
gradle_build/export_format=0
gradle_build/min_sdk=""
gradle_build/target_sdk=""
plugins/GodotOpenXRKHR=true
plugins/GodotOpenXRLynx=false
plugins/GodotOpenXRPico=false
plugins/GodotOpenXRMeta=false
architectures/armeabi-v7a=false
architectures/arm64-v8a=true
architectures/x86=false
Expand Down Expand Up @@ -970,10 +977,6 @@ permissions/write_sms=false
permissions/write_social_stream=false
permissions/write_sync_settings=false
permissions/write_user_dictionary=false
plugins/GodotOpenXRKHR=true
plugins/GodotOpenXRLynx=false
plugins/GodotOpenXRMeta=false
plugins/GodotOpenXRPico=false
xr_features/hand_tracking=0
xr_features/hand_tracking_frequency=0
xr_features/passthrough=0
Expand All @@ -990,3 +993,4 @@ meta_xr_features/quest_2_support=true
meta_xr_features/quest_3_support=true
meta_xr_features/quest_pro_support=true
xr_features/enable_khronos_plugin=true
meta_xr_features/use_anchor_api=false

0 comments on commit 5bc3f52

Please sign in to comment.