Reviewed-on: #1 Co-authored-by: Andrew Kettel <andrew.kettel@gmail.com>
This commit was merged in pull request #1.
This commit is contained in:
@@ -1,14 +0,0 @@
|
|||||||
name: Verify Export Config
|
|
||||||
on: workflow_dispatch
|
|
||||||
jobs:
|
|
||||||
check:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Download export templates (cached)
|
|
||||||
run: |
|
|
||||||
mkdir -p .godot/export_templates
|
|
||||||
wget -qO- https://github.com/godotengine/godot/releases/download/4.3-stable/Godot_v4.3-stable_export_templates.tpz \
|
|
||||||
| tar xzf - -C .godot/export_templates --strip-components=1
|
|
||||||
- name: Validate project compiles cleanly
|
|
||||||
run: godot --headless --quit-after-editor-checks 2>&1 | tee editor.log
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
name: GDScript Lint
|
|
||||||
on: [push, pull_request]
|
|
||||||
jobs:
|
|
||||||
lint:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Run gd-lint
|
|
||||||
run: |
|
|
||||||
pipx install godot-lint
|
|
||||||
gd_lint src/ --error-on-warn --ignore=core/,tools/
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
name: Run Tests
|
|
||||||
on: [push]
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Install Godot CLI
|
|
||||||
run: |
|
|
||||||
wget -q https://github.com/godotengine/godot/releases/download/4.3-stable/Godot_v4.3-stable_linux.x86_64.zip
|
|
||||||
unzip -qq *.zip -d /tmp/ && sudo cp "/tmp/Godot v4.3 stable/Godot_v4.3-stable_linux.x86_64" /usr/local/bin/godot && chmod +x /usr/local/bin/godot
|
|
||||||
- name: Run headless tests
|
|
||||||
run: |
|
|
||||||
godot --headless --script res://tests/run_tests.gd --quit-after-tests
|
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
name: Validate Project
|
||||||
|
on: [push, pull_request]
|
||||||
|
jobs:
|
||||||
|
validate:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Install Godot stable
|
||||||
|
run: |
|
||||||
|
wget -q https://github.com/godotengine/godot/releases/download/4.7.2-stable/Godot_v4.7.2-stable_linux.x86_64.zip
|
||||||
|
unzip -qq *.zip -d /tmp/godot-install/
|
||||||
|
GODOT_BIN=$(find /tmp/godot-install/ -type f -name "Godot_*linux.x86_64" | head -1)
|
||||||
|
sudo cp "$GODOT_BIN" /usr/local/bin/godot && chmod +x /usr/local/bin/godot
|
||||||
|
- name: Check project opens cleanly headless
|
||||||
|
run: |
|
||||||
|
godot --headless --path . 2>&1 | tee editor.log || true
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
; Engine configuration file.
|
||||||
|
; It's best edited using the editor UI and not directly,
|
||||||
|
; since the parameters that go here are not all obvious.
|
||||||
|
;
|
||||||
|
; Format:
|
||||||
|
; [section] ; section goes between []
|
||||||
|
; param=value ; assign values to parameters
|
||||||
|
|
||||||
|
config_version=5
|
||||||
|
|
||||||
|
[application]
|
||||||
|
|
||||||
|
config/name="Yeet Geese"
|
||||||
|
config/features=PackedStringArray("4.7")
|
||||||
|
|
||||||
|
[autoload]
|
||||||
|
|
||||||
|
GdUnit4Runner="*uid://biafu03jsb7lh"
|
||||||
|
|
||||||
|
[display]
|
||||||
|
|
||||||
|
window/stretch/mode="canvas_items"
|
||||||
|
window/stretch/aspect="expand"
|
||||||
|
|
||||||
|
[editor_plugins]
|
||||||
|
|
||||||
|
enabled=PackedStringArray("res://addons/gdUnit4/plugin.cfg")
|
||||||
|
|
||||||
|
[physics]
|
||||||
|
|
||||||
|
3d/physics_engine="Jolt Physics"
|
||||||
|
|
||||||
|
[rendering]
|
||||||
|
|
||||||
|
rendering_device/driver.windows="d3d12"
|
||||||
|
|||||||
Reference in New Issue
Block a user