Compare commits

...
2 Commits
Author SHA1 Message Date
omgitsalexl 8302d5eea4 Workflow for exporting Godot project [skip ci] 2026-08-28 07:58:35 -07:00
omgitsalexl 3fe01da34c Texture import flag for ARM64 devices toggled on
Build Debug Library / Ubuntu (push) Successful in 3m46s
Build Debug Library / macOS (push) Successful in 4m7s
Build Debug Library / Windows (push) Successful in 9m11s
2026-08-28 07:15:18 -07:00
3 changed files with 331 additions and 0 deletions
+165
View File
@@ -0,0 +1,165 @@
name: Godot Debug Export
on:
workflow_dispatch:
jobs:
macos:
name: macOS
runs-on: macos-26
defaults:
run:
working-directory: ./Swift
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: true
- name: Cache Build
uses: actions/cache@v4
with:
path: .build
key: ${{ runner.os }}-swift-${{ hashFiles('Package.resolved') }}
restore-keys: |
${{ runner.os }}-swift-
- name: Build
run: |
swift build -Xswiftc -no-verify-emitted-module-interface
BIN_PATH=$(swift build --show-bin-path)
mkdir -p "${{github.workspace}}/artifacts/"
cp "$BIN_PATH/libLogic.dylib" "${{github.workspace}}/artifacts/"
cp "$BIN_PATH/libSwiftGodot.dylib" "${{github.workspace}}/artifacts/"
- name: Copy build files
run: |
cp -r "${{github.workspace}}/artifacts/." "${{github.workspace}}/Godot/bin/"
- name: Godot Export
id: export
uses: firebelley/godot-export@v8.0.0
with:
godot_executable_download_url: https://github.com/godotengine/godot/releases/download/4.6.1-stable/Godot_v4.6.1-stable_linux.arm64.zip
godot_export_templates_download_url: https://github.com/godotengine/godot/releases/download/4.6.1-stable/Godot_v4.6.1-stable_export_templates.tpz
relative_project_path: ../Godot/
export_debug: true
presets_to_export: "macOS"
cache: true
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: Build-macOS
path: "${{ steps.export.outputs.archive_directory }}/*"
windows:
name: Windows
runs-on: windows-11
defaults:
run:
working-directory: ./Swift
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache Build
uses: actions/cache@v4
with:
path: .build
key: ${{ runner.os }}-swift-${{ hashFiles('Package.resolved') }}
restore-keys: |
${{ runner.os }}-swift-
- name: Build
run: |
swift build -Xswiftc -no-verify-emitted-module-interface
$binPath = swift build --show-bin-path
New-Item -ItemType Directory -Path "${{github.workspace}}/artifacts" -Force
Copy-Item -Path "$binPath/Logic.dll" -Destination "${{github.workspace}}/artifacts/"
Copy-Item -Path "$binPath/SwiftGodot.dll" -Destination "${{github.workspace}}/artifacts/"
- name: Bundle Logic DLLs
uses: https://git.omgitsalexl.me/omgitsalexl/windows-collect-dependencies@v1.0.3
with:
executable: "${{github.workspace}}/artifacts/Logic.dll"
output: "${{github.workspace}}/artifacts/"
- name: Copy build files
run: |
Copy-Item -Path "${{github.workspace}}/artifacts/." -Destination "${{github.workspace}}/Godot/bin/"
- name: Godot Export
id: export
uses: firebelley/godot-export@v8.0.0
with:
godot_executable_download_url: https://github.com/godotengine/godot/releases/download/4.6.1-stable/Godot_v4.6.1-stable_linux.arm64.zip
godot_export_templates_download_url: https://github.com/godotengine/godot/releases/download/4.6.1-stable/Godot_v4.6.1-stable_export_templates.tpz
relative_project_path: ../Godot/
export_debug: true
presets_to_export: "Windows"
cache: true
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: Build-Windows
path: "${{ steps.export.outputs.archive_directory }}/*"
ubuntu:
name: Ubuntu
runs-on: ubuntu-24.04
defaults:
run:
working-directory: ./Swift
container:
image: git.omgitsalexl.me/omgitsalexl/ci-swift:6.3.3
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache Build
uses: actions/cache@v4
with:
path: .build
key: ${{ runner.os }}-swift-${{ hashFiles('Package.resolved') }}
restore-keys: |
${{ runner.os }}-swift-
- name: Build
run: |
swift build -Xswiftc -no-verify-emitted-module-interface
BIN_PATH=$(swift build --show-bin-path)
mkdir -p "${{github.workspace}}/artifacts/"
cp "$BIN_PATH/libLogic.so" "${{github.workspace}}/artifacts/"
cp "$BIN_PATH/libSwiftGodot.so" "${{github.workspace}}/artifacts/"
- name: Bundle libLogic Libraries
uses: https://git.omgitsalexl.me/omgitsalexl/linux-collect-dependencies@v1.0.1
with:
executable: "${{github.workspace}}/artifacts/libLogic.so"
output: "${{github.workspace}}/artifacts/"
- name: Copy build files
run: |
cp -r "${{github.workspace}}/artifacts/." "${{github.workspace}}/Godot/bin/"
- name: Godot Export
id: export
uses: firebelley/godot-export@v8.0.0
with:
godot_executable_download_url: https://github.com/godotengine/godot/releases/download/4.6.1-stable/Godot_v4.6.1-stable_linux.arm64.zip
godot_export_templates_download_url: https://github.com/godotengine/godot/releases/download/4.6.1-stable/Godot_v4.6.1-stable_export_templates.tpz
relative_project_path: ../Godot/
export_debug: true
presets_to_export: "Linux"
cache: true
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: Build-Linux
path: "${{ steps.export.outputs.archive_directory }}/*"
+165
View File
@@ -0,0 +1,165 @@
name: Godot Debug Export
on:
workflow_dispatch:
jobs:
macos:
name: macOS
runs-on: macos-26
defaults:
run:
working-directory: ./Swift
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: true
- name: Cache Build
uses: actions/cache@v4
with:
path: .build
key: ${{ runner.os }}-swift-${{ hashFiles('Package.resolved') }}
restore-keys: |
${{ runner.os }}-swift-
- name: Build
run: |
swift build -c release -Xswiftc -no-verify-emitted-module-interface
BIN_PATH=$(swift build -c release --show-bin-path)
mkdir -p "${{github.workspace}}/artifacts/"
cp "$BIN_PATH/libLogic.dylib" "${{github.workspace}}/artifacts/"
cp "$BIN_PATH/libSwiftGodot.dylib" "${{github.workspace}}/artifacts/"
- name: Copy build files
run: |
cp -r "${{github.workspace}}/artifacts/." "${{github.workspace}}/Godot/bin/"
- name: Godot Export
id: export
uses: firebelley/godot-export@v8.0.0
with:
godot_executable_download_url: https://github.com/godotengine/godot/releases/download/4.6.1-stable/Godot_v4.6.1-stable_linux.arm64.zip
godot_export_templates_download_url: https://github.com/godotengine/godot/releases/download/4.6.1-stable/Godot_v4.6.1-stable_export_templates.tpz
relative_project_path: ../Godot/
export_debug: false
presets_to_export: "macOS"
cache: true
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: Build-macOS
path: "${{ steps.export.outputs.archive_directory }}/*"
windows:
name: Windows
runs-on: windows-11
defaults:
run:
working-directory: ./Swift
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache Build
uses: actions/cache@v4
with:
path: .build
key: ${{ runner.os }}-swift-${{ hashFiles('Package.resolved') }}
restore-keys: |
${{ runner.os }}-swift-
- name: Build
run: |
swift build -c release -Xswiftc -no-verify-emitted-module-interface
$binPath = swift build -c release --show-bin-path
New-Item -ItemType Directory -Path "${{github.workspace}}/artifacts" -Force
Copy-Item -Path "$binPath/Logic.dll" -Destination "${{github.workspace}}/artifacts/"
Copy-Item -Path "$binPath/SwiftGodot.dll" -Destination "${{github.workspace}}/artifacts/"
- name: Bundle Logic DLLs
uses: https://git.omgitsalexl.me/omgitsalexl/windows-collect-dependencies@v1.0.3
with:
executable: "${{github.workspace}}/artifacts/Logic.dll"
output: "${{github.workspace}}/artifacts/"
- name: Copy build files
run: |
Copy-Item -Path "${{github.workspace}}/artifacts/." -Destination "${{github.workspace}}/Godot/bin/"
- name: Godot Export
id: export
uses: firebelley/godot-export@v8.0.0
with:
godot_executable_download_url: https://github.com/godotengine/godot/releases/download/4.6.1-stable/Godot_v4.6.1-stable_linux.arm64.zip
godot_export_templates_download_url: https://github.com/godotengine/godot/releases/download/4.6.1-stable/Godot_v4.6.1-stable_export_templates.tpz
relative_project_path: ../Godot/
export_debug: false
presets_to_export: "Windows"
cache: true
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: Build-Windows
path: "${{ steps.export.outputs.archive_directory }}/*"
ubuntu:
name: Ubuntu
runs-on: ubuntu-24.04
defaults:
run:
working-directory: ./Swift
container:
image: git.omgitsalexl.me/omgitsalexl/ci-swift:6.3.3
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache Build
uses: actions/cache@v4
with:
path: .build
key: ${{ runner.os }}-swift-${{ hashFiles('Package.resolved') }}
restore-keys: |
${{ runner.os }}-swift-
- name: Build
run: |
swift build -c release -Xswiftc -no-verify-emitted-module-interface
BIN_PATH=$(swift build -c release --show-bin-path)
mkdir -p "${{github.workspace}}/artifacts/"
cp "$BIN_PATH/libLogic.so" "${{github.workspace}}/artifacts/"
cp "$BIN_PATH/libSwiftGodot.so" "${{github.workspace}}/artifacts/"
- name: Bundle libLogic Libraries
uses: https://git.omgitsalexl.me/omgitsalexl/linux-collect-dependencies@v1.0.1
with:
executable: "${{github.workspace}}/artifacts/libLogic.so"
output: "${{github.workspace}}/artifacts/"
- name: Copy build files
run: |
cp -r "${{github.workspace}}/artifacts/." "${{github.workspace}}/Godot/bin/"
- name: Godot Export
id: export
uses: firebelley/godot-export@v8.0.0
with:
godot_executable_download_url: https://github.com/godotengine/godot/releases/download/4.6.1-stable/Godot_v4.6.1-stable_linux.arm64.zip
godot_export_templates_download_url: https://github.com/godotengine/godot/releases/download/4.6.1-stable/Godot_v4.6.1-stable_export_templates.tpz
relative_project_path: ../Godot/
export_debug: false
presets_to_export: "Linux"
cache: true
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: Build-Linux
path: "${{ steps.export.outputs.archive_directory }}/*"
+1
View File
@@ -22,3 +22,4 @@ config/icon="res://icon.svg"
[rendering] [rendering]
rendering_device/driver.windows="d3d12" rendering_device/driver.windows="d3d12"
textures/vram_compression/import_etc2_astc=true