From 9e7a788e8004dda0e4bbd7e1fd499dac1e8d40c3 Mon Sep 17 00:00:00 2001 From: zenobit Date: Mon, 13 Oct 2025 05:53:14 +0200 Subject: [PATCH 1/5] More exports presets --- pie-menus/export_presets.cfg | 248 ++++++++++++++++++++++++++++++++++- 1 file changed, 246 insertions(+), 2 deletions(-) diff --git a/pie-menus/export_presets.cfg b/pie-menus/export_presets.cfg index 63d1424..f844d7f 100644 --- a/pie-menus/export_presets.cfg +++ b/pie-menus/export_presets.cfg @@ -1,6 +1,6 @@ [preset.0] -name="Linux" +name="Linux x86_64" platform="Linux" runnable=true advanced_options=false @@ -9,7 +9,7 @@ custom_features="" export_filter="all_resources" include_filter="" exclude_filter="" -export_path="../../Exports/Godot-Pie/GodotPie v2.1.x86_64" +export_path="./GodotPie-v2.1-x86_64" patches=PackedStringArray() encryption_include_filters="" encryption_exclude_filters="" @@ -26,6 +26,7 @@ debug/export_console_wrapper=1 binary_format/embed_pck=true texture_format/s3tc_bptc=true texture_format/etc2_astc=false +shader_baker/enabled=false binary_format/architecture="x86_64" ssh_remote_deploy/enabled=false ssh_remote_deploy/host="user@host_ip" @@ -39,3 +40,246 @@ unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\" ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash kill $(pgrep -x -f \"{temp_dir}/{exe_name} {cmd_args}\") rm -rf \"{temp_dir}\"" + +[preset.1] + +name="Linux x86_32" +platform="Linux" +runnable=false +advanced_options=false +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="./GodotPie-v2.1-x86_32" +patches=PackedStringArray() +encryption_include_filters="" +encryption_exclude_filters="" +seed=0 +encrypt_pck=false +encrypt_directory=false +script_export_mode=2 + +[preset.1.options] + +custom_template/debug="" +custom_template/release="" +debug/export_console_wrapper=1 +binary_format/embed_pck=true +texture_format/s3tc_bptc=true +texture_format/etc2_astc=false +shader_baker/enabled=false +binary_format/architecture="x86_32" +ssh_remote_deploy/enabled=false +ssh_remote_deploy/host="user@host_ip" +ssh_remote_deploy/port="22" +ssh_remote_deploy/extra_args_ssh="" +ssh_remote_deploy/extra_args_scp="" +ssh_remote_deploy/run_script="#!/usr/bin/env bash +export DISPLAY=:0 +unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\" +\"{temp_dir}/{exe_name}\" {cmd_args}" +ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash +kill $(pgrep -x -f \"{temp_dir}/{exe_name} {cmd_args}\") +rm -rf \"{temp_dir}\"" + +[preset.2] + +name="Linux arm64" +platform="Linux" +runnable=false +advanced_options=false +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="./GodotPie-v2.1-arm64" +patches=PackedStringArray() +encryption_include_filters="" +encryption_exclude_filters="" +seed=0 +encrypt_pck=false +encrypt_directory=false +script_export_mode=2 + +[preset.2.options] + +custom_template/debug="" +custom_template/release="" +debug/export_console_wrapper=1 +binary_format/embed_pck=true +texture_format/s3tc_bptc=true +texture_format/etc2_astc=false +shader_baker/enabled=false +binary_format/architecture="arm64" +ssh_remote_deploy/enabled=false +ssh_remote_deploy/host="user@host_ip" +ssh_remote_deploy/port="22" +ssh_remote_deploy/extra_args_ssh="" +ssh_remote_deploy/extra_args_scp="" +ssh_remote_deploy/run_script="#!/usr/bin/env bash +export DISPLAY=:0 +unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\" +\"{temp_dir}/{exe_name}\" {cmd_args}" +ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash +kill $(pgrep -x -f \"{temp_dir}/{exe_name} {cmd_args}\") +rm -rf \"{temp_dir}\"" + +[preset.3] + +name="Linux arm32" +platform="Linux" +runnable=false +advanced_options=false +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="./GodotPie-v2.1-arm32" +patches=PackedStringArray() +encryption_include_filters="" +encryption_exclude_filters="" +seed=0 +encrypt_pck=false +encrypt_directory=false +script_export_mode=2 + +[preset.3.options] + +custom_template/debug="" +custom_template/release="" +debug/export_console_wrapper=1 +binary_format/embed_pck=true +texture_format/s3tc_bptc=true +texture_format/etc2_astc=false +shader_baker/enabled=false +binary_format/architecture="arm32" +ssh_remote_deploy/enabled=false +ssh_remote_deploy/host="user@host_ip" +ssh_remote_deploy/port="22" +ssh_remote_deploy/extra_args_ssh="" +ssh_remote_deploy/extra_args_scp="" +ssh_remote_deploy/run_script="#!/usr/bin/env bash +export DISPLAY=:0 +unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\" +\"{temp_dir}/{exe_name}\" {cmd_args}" +ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash +kill $(pgrep -x -f \"{temp_dir}/{exe_name} {cmd_args}\") +rm -rf \"{temp_dir}\"" + +[preset.4] + +name="Windows Desktop" +platform="Windows Desktop" +runnable=true +advanced_options=false +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="./GodotPie-v2.1-Win-x86_64" +patches=PackedStringArray() +encryption_include_filters="" +encryption_exclude_filters="" +seed=0 +encrypt_pck=false +encrypt_directory=false +script_export_mode=2 + +[preset.4.options] + +custom_template/debug="" +custom_template/release="" +debug/export_console_wrapper=1 +binary_format/embed_pck=true +texture_format/s3tc_bptc=true +texture_format/etc2_astc=false +shader_baker/enabled=false +binary_format/architecture="x86_64" +codesign/enable=false +codesign/timestamp=true +codesign/timestamp_server_url="" +codesign/digest_algorithm=1 +codesign/description="" +codesign/custom_options=PackedStringArray() +application/modify_resources=true +application/icon="" +application/console_wrapper_icon="" +application/icon_interpolation=4 +application/file_version="" +application/product_version="" +application/company_name="" +application/product_name="" +application/file_description="" +application/copyright="" +application/trademarks="" +application/export_angle=0 +application/export_d3d12=0 +application/d3d12_agility_sdk_multiarch=true +ssh_remote_deploy/enabled=false +ssh_remote_deploy/host="user@host_ip" +ssh_remote_deploy/port="22" +ssh_remote_deploy/extra_args_ssh="" +ssh_remote_deploy/extra_args_scp="" +ssh_remote_deploy/run_script="Expand-Archive -LiteralPath '{temp_dir}\\{archive_name}' -DestinationPath '{temp_dir}' +$action = New-ScheduledTaskAction -Execute '{temp_dir}\\{exe_name}' -Argument '{cmd_args}' +$trigger = New-ScheduledTaskTrigger -Once -At 00:00 +$settings = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries +$task = New-ScheduledTask -Action $action -Trigger $trigger -Settings $settings +Register-ScheduledTask godot_remote_debug -InputObject $task -Force:$true +Start-ScheduledTask -TaskName godot_remote_debug +while (Get-ScheduledTask -TaskName godot_remote_debug | ? State -eq running) { Start-Sleep -Milliseconds 100 } +Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue" +ssh_remote_deploy/cleanup_script="Stop-ScheduledTask -TaskName godot_remote_debug -ErrorAction:SilentlyContinue +Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue +Remove-Item -Recurse -Force '{temp_dir}'" + +[preset.5] + +name="Web" +platform="Web" +runnable=true +advanced_options=false +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="./GodotPie-v2.1-web" +patches=PackedStringArray() +encryption_include_filters="" +encryption_exclude_filters="" +seed=0 +encrypt_pck=false +encrypt_directory=false +script_export_mode=2 + +[preset.5.options] + +custom_template/debug="" +custom_template/release="" +variant/extensions_support=false +variant/thread_support=false +vram_texture_compression/for_desktop=true +vram_texture_compression/for_mobile=true +html/export_icon=true +html/custom_html_shell="" +html/head_include="" +html/canvas_resize_policy=2 +html/focus_canvas_on_start=true +html/experimental_virtual_keyboard=false +progressive_web_app/enabled=false +progressive_web_app/ensure_cross_origin_isolation_headers=true +progressive_web_app/offline_page="" +progressive_web_app/display=1 +progressive_web_app/orientation=0 +progressive_web_app/icon_144x144="" +progressive_web_app/icon_180x180="" +progressive_web_app/icon_512x512="" +progressive_web_app/background_color=Color(0, 0, 0, 1) +threads/emscripten_pool_size=8 +threads/godot_pool_size=4 From 2aa1f591106af980a0409d8cf471a64fb40cc7e4 Mon Sep 17 00:00:00 2001 From: zenobit Date: Tue, 3 Jun 2025 09:45:20 +0200 Subject: [PATCH 2/5] CI: Release --- .github/workflows/release.yml | 63 +++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..871a0c5 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,63 @@ +# Trigger the job whenever a tag pushed +name: Release +on: + workflow_dispatch: + push: + tags: + - "*" + +jobs: + GodotPie: + runs-on: ubuntu-latest + permissions: + contents: write + strategy: + matrix: + config: + - name: GodotPie-Linux64-${{ github.ref_name }} + platform: "Linux x86_64" + - name: GodotPie-Linux32-${{ github.ref_name }} + platform: "Linux x86_32" + - name: GodotPie-Arm64-${{ github.ref_name }} + platform: "Linux arm64" + - name: GodotPie-Arm32-${{ github.ref_name }} + platform: "Linux arm32" + - name: GodotPie-Windows-${{ github.ref_name }} + platform: "Windows Desktop" + + steps: + - name: Checkout + uses: actions/checkout@v5 + + - name: Export GodotPie + id: export + uses: firebelley/godot-export@v7.0.0 + with: + # Godot executable download URL + godot_executable_download_url: https://github.com/godotengine/godot/releases/download/4.4.1-stable/Godot_v4.4.1-stable_linux.x86_64.zip + # Godot export templates download URL + godot_export_templates_download_url: https://github.com/godotengine/godot/releases/download/4.4.1-stable/Godot_v4.4.1-stable_export_templates.tpz + # Relative project path + relative_project_path: ./pie-menus + # Relative export path + relative_export_path: ./pie-menus + # Export preset + presets_to_export: ${{ matrix.config.platform }} + # Enable caching + cache: true + # Enable verbose mode + verbose: true + # Archive output + archive_output: true + + - name: Create Release + uses: ncipollo/release-action@v1.18.0 + with: + # GitHub token + token: ${{ secrets.GITHUB_TOKEN }} + # Generate release notes + generateReleaseNotes: true + # Tag name + tag: ${{ github.ref_name }} + # Artifact path + artifacts: ${{ steps.export.outputs.archive_directory }}/* From 0110e39b7af81dda7f3a105c4eb4302ec77d9a9f Mon Sep 17 00:00:00 2001 From: zenobit Date: Mon, 8 Dec 2025 04:19:12 +0100 Subject: [PATCH 3/5] Update release.yml --- .github/workflows/release.yml | 54 ++++++++++++++++++++--------------- 1 file changed, 31 insertions(+), 23 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 871a0c5..0654d00 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,57 +7,65 @@ on: - "*" jobs: - GodotPie: + export_matrix: runs-on: ubuntu-latest permissions: contents: write + strategy: + fail-fast: false matrix: config: - name: GodotPie-Linux64-${{ github.ref_name }} - platform: "Linux x86_64" + preset: "Linux x86_64" - name: GodotPie-Linux32-${{ github.ref_name }} - platform: "Linux x86_32" + preset: "Linux x86_32" - name: GodotPie-Arm64-${{ github.ref_name }} - platform: "Linux arm64" + preset: "Linux arm64" - name: GodotPie-Arm32-${{ github.ref_name }} - platform: "Linux arm32" + preset: "Linux arm32" - name: GodotPie-Windows-${{ github.ref_name }} - platform: "Windows Desktop" + preset: "Windows Desktop" + needs_wine: true + name: ${{ matrix.config.name }} steps: - name: Checkout uses: actions/checkout@v5 - - name: Export GodotPie + - name: Wine + if: matrix.config.needs_wine + id: wine + run: | + sudo apt update + sudo apt install -y wine64 + echo "WINE_PATH=$(which wine)" >> $GITHUB_OUTPUT + + - name: Export id: export uses: firebelley/godot-export@v7.0.0 with: - # Godot executable download URL godot_executable_download_url: https://github.com/godotengine/godot/releases/download/4.4.1-stable/Godot_v4.4.1-stable_linux.x86_64.zip - # Godot export templates download URL godot_export_templates_download_url: https://github.com/godotengine/godot/releases/download/4.4.1-stable/Godot_v4.4.1-stable_export_templates.tpz - # Relative project path relative_project_path: ./pie-menus - # Relative export path relative_export_path: ./pie-menus - # Export preset - presets_to_export: ${{ matrix.config.platform }} - # Enable caching + presets_to_export: ${{ matrix.config.preset }} + wine_path: ${{ steps.wine.outputs.WINE_PATH }} + export_debug: false cache: true - # Enable verbose mode verbose: true - # Archive output archive_output: true - - name: Create Release - uses: ncipollo/release-action@v1.18.0 + - name: Release + uses: ncipollo/release-action@v1.20.0 with: - # GitHub token token: ${{ secrets.GITHUB_TOKEN }} - # Generate release notes generateReleaseNotes: true - # Tag name tag: ${{ github.ref_name }} - # Artifact path - artifacts: ${{ steps.export.outputs.archive_directory }}/* + artifacts: pie-menu/${{ steps.export.outputs.archive_directory }}/.zip + allowUpdates: true + discussionCategory: General + generateReleaseNotesPreviousTag: true + makeLatest: legacy + omitBodyDuringUpdate: true + omitNameDuringUpdate: true From 06efb5e653339e165b902186195cc4d3f9e14d47 Mon Sep 17 00:00:00 2001 From: zenobit Date: Mon, 8 Dec 2025 04:35:38 +0100 Subject: [PATCH 4/5] Update release.yml --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0654d00..1c1a5ab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,7 +48,7 @@ jobs: godot_executable_download_url: https://github.com/godotengine/godot/releases/download/4.4.1-stable/Godot_v4.4.1-stable_linux.x86_64.zip godot_export_templates_download_url: https://github.com/godotengine/godot/releases/download/4.4.1-stable/Godot_v4.4.1-stable_export_templates.tpz relative_project_path: ./pie-menus - relative_export_path: ./pie-menus + relative_export_path: ./ presets_to_export: ${{ matrix.config.preset }} wine_path: ${{ steps.wine.outputs.WINE_PATH }} export_debug: false @@ -62,7 +62,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} generateReleaseNotes: true tag: ${{ github.ref_name }} - artifacts: pie-menu/${{ steps.export.outputs.archive_directory }}/.zip + artifacts: "/home/runner/work/Godot-Pie/Godot-Pie/${{ matrix.config.preset }}.zip" allowUpdates: true discussionCategory: General generateReleaseNotesPreviousTag: true From 996f580eb025072e64414420328474aa68b10dc5 Mon Sep 17 00:00:00 2001 From: zenobit Date: Mon, 8 Dec 2025 04:51:31 +0100 Subject: [PATCH 5/5] Update release.yml --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1c1a5ab..704b34a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,8 +62,9 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} generateReleaseNotes: true tag: ${{ github.ref_name }} - artifacts: "/home/runner/work/Godot-Pie/Godot-Pie/${{ matrix.config.preset }}.zip" + artifacts: ./*.zip allowUpdates: true + # Disable if you don't enable discussions discussionCategory: General generateReleaseNotesPreviousTag: true makeLatest: legacy