This commit is contained in:
Afevis 2025-11-26 11:22:57 -05:00 committed by GitHub
commit ebc0ca8fb3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 54 additions and 0 deletions

32
.github/workflows/linux_ci_build.yml vendored Normal file
View file

@ -0,0 +1,32 @@
name: Godot Linux Build Test
on: [push, pull_request]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download Godot 4.5-beta3 (Linux headless)
run: |
wget https://github.com/godotengine/godot-builds/releases/download/4.5-beta3/Godot_v4.5-beta3_linux.x86_64.zip -O godot.zip
unzip godot.zip -d godot-bin
chmod +x godot-bin/Godot_v4.5-beta3_linux.x86_64
- name: Install export templates
run: |
mkdir -p ~/.local/share/godot/export_templates/4.5.beta3
wget https://github.com/godotengine/godot-builds/releases/download/4.5-beta3/Godot_v4.5-beta3_export_templates.tpz -O templates.tpz
unzip -q templates.tpz -d /tmp
mv /tmp/templates/* ~/.local/share/godot/export_templates/4.5.beta3/
- name: Prepare build directory
run: |
rm -rf build
mkdir -p build
- name: Export Linux build
run: |
godot-bin/Godot_v4.5-beta3_linux.x86_64 \
--headless --verbose --path . \
--export-release "Linux x86" build/SMB1R.x86_64

22
.github/workflows/windows_ci_build.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: Godot Windows Build Test
on: [push, pull_request]
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Download Godot 4.5-beta3 (Windows headless)
shell: pwsh
run: |
Invoke-WebRequest -Uri https://github.com/godotengine/godot-builds/releases/download/4.5-beta3/Godot_v4.5-beta3_win64.exe.zip -OutFile godot.zip
Expand-Archive godot.zip -DestinationPath godot-bin
- name: Clear build directory
run: |
if (Test-Path build) { Remove-Item build -Recurse -Force }
- name: Export Windows build
run: |
godot-bin\Godot_v4.5-beta3_win64.exe --headless --verbose --path . --export-release "Windows Desktop x86" build\SMB1R.exe