Add initial build workflow, project configuration, and asset structure for Chemo-Sim

This commit is contained in:
2026-05-30 13:03:09 +02:00
parent 4101196074
commit 5ef67634d0
22 changed files with 178 additions and 7 deletions
+57
View File
@@ -0,0 +1,57 @@
name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
env:
GODOT_VERSION: "4.3"
PROJECT_NAME: chemo-sim
jobs:
build:
name: Export ${{ matrix.platform }}
runs-on: ubuntu-latest
container:
image: barichello/godot-ci:4.3
strategy:
fail-fast: false
matrix:
include:
- platform: windows
preset: "Windows Desktop"
output: chemo-sim.exe
- platform: linux
preset: "Linux"
output: chemo-sim.x86_64
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: true
- name: Install export templates
run: |
mkdir -p ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
cp -r /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable/* \
~/.local/share/godot/export_templates/${GODOT_VERSION}.stable/ || true
- name: Import project (build resource cache)
run: godot --headless --import
continue-on-error: true
- name: Export ${{ matrix.platform }}
run: |
mkdir -p build/${{ matrix.platform }}
godot --headless --export-release "${{ matrix.preset }}" build/${{ matrix.platform }}/${{ matrix.output }}
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ${{ env.PROJECT_NAME }}-${{ matrix.platform }}
path: build/${{ matrix.platform }}/
if-no-files-found: error
retention-days: 14
+17 -6
View File
@@ -1,14 +1,25 @@
# instructions # instructions
.github/instructions/ .github/instructions/
# GoDot files # Godot 4+ specific (do NOT ignore project.godot — it must be tracked)
.godot/
.import/
*.import *.import
*.godot export.cfg
export_credentials.cfg
*.translation
# OS files # Local toolchain (downloaded Godot editor + export templates)
.DS_Store tools/
Thumbs.db
# Build files # Build outputs
build/
!build/.gitkeep
bin/ bin/
obj/ obj/
# OS / editor cruft
.DS_Store
Thumbs.db
*.swp
*~
+3
View File
@@ -0,0 +1,3 @@
# Chemo-Sim — A First-Person Chemo Treatment Simulator
Changelog for Chemo-Sim. See [README.md](README.md) for game overview and [docs/DEVELOPMENT_ROADMAP.md](docs/DEVELOPMENT_ROADMAP.md) for development plans.
View File
View File
View File
View File
View File
View File
+70
View File
@@ -0,0 +1,70 @@
[preset.0]
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="build/windows/chemo-sim.exe"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
encrypt_directory=false
script_export_mode=2
[preset.0.options]
custom_template/debug=""
custom_template/release=""
debug/export_console_wrapper=1
binary_format/embed_pck=false
texture_format/s3tc_bptc=true
texture_format/etc2_astc=false
binary_format/architecture="x86_64"
codesign/enable=false
application/modify_resources=true
application/icon=""
application/console_wrapper_icon=""
application/icon_interpolation=4
application/file_version=""
application/product_version="0.1.0"
application/company_name="chemo-sim"
application/product_name="chemo-sim"
application/file_description="You Get Chemo"
application/copyright=""
application/trademarks=""
application/export_angle=0
application/export_d3d12=0
[preset.1]
name="Linux"
platform="Linux"
runnable=true
advanced_options=false
dedicated_server=false
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="build/linux/chemo-sim.x86_64"
encryption_include_filters=""
encryption_exclude_filters=""
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=false
texture_format/s3tc_bptc=true
texture_format/etc2_astc=false
binary_format/architecture="x86_64"
ssh_remote_deploy/enabled=false
View File
+30
View File
@@ -0,0 +1,30 @@
; 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="chemo-sim"
config/version="0.1.0"
run/main_scene=""
config/features=PackedStringArray("4.3", "Forward Plus")
config/icon="res://icon.svg"
[display]
window/size/viewport_width=1920
window/size/viewport_height=1080
window/size/mode=0
window/stretch/mode="canvas_items"
window/stretch/aspect="keep"
[rendering]
renderer/rendering_method="forward_plus"
renderer/rendering_method.mobile="mobile"
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File