chore(ci): add stage-tamagotchi-godot in publish (#1841)

This commit is contained in:
Andrew Qi 2026-05-21 03:04:22 +08:00 committed by GitHub
parent bd47b2c8ba
commit cd0d7fe28e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 74 additions and 3 deletions

View file

@ -107,7 +107,7 @@ jobs:
working-directory: ./engines/stage-tamagotchi-godot
run: |
mkdir -p build/linux
godot --headless --export-release "Linux" build/linux/godot-stage
godot --headless --export-release "Linux x64" build/linux/godot-stage
typecheck:
name: Type Check

View file

@ -122,6 +122,12 @@ jobs:
- uses: pnpm/action-setup@v4
with:
run_install: false
- name: Install macOS System Dependencies for node-canvas
if: runner.os == 'macOS'
run: |
brew install pkg-config cairo pango jpeg giflib librsvg
- uses: actions/setup-node@v6
with:
node-version: lts/*
@ -134,6 +140,42 @@ jobs:
- run: pnpm run build:packages
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Setup Godot
uses: chickensoft-games/setup-godot@v2
with:
version: '4.6.2'
use-dotnet: true
include-templates: true
- name: Export Godot Stage (Windows)
if: matrix.os == 'windows-latest'
working-directory: ./engines/stage-tamagotchi-godot
shell: bash
run: |
mkdir -p build/win
godot --headless --export-release "Windows Desktop" build/win/godot-stage.exe
- name: Export Godot Stage (macOS)
if: matrix.os == 'macos-15-intel' || matrix.os == 'macos-26'
working-directory: ./engines/stage-tamagotchi-godot
shell: bash
run: |
mkdir -p build/mac
godot --headless --export-release "macOS" build/mac/godot-stage.app
- name: Export Godot Stage (Linux)
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm'
working-directory: ./engines/stage-tamagotchi-godot
shell: bash
run: |
mkdir -p build/linux
godot --headless --export-release "Linux ${{ matrix.arch }}" build/linux/godot-stage
- name: Build (Windows Only) # Windows
if: matrix.os == 'windows-latest'
run: pnpm run -F @proj-airi/stage-tamagotchi build && pnpm -F @proj-airi/stage-tamagotchi exec electron-builder build ${{ matrix.builder-args }} --publish=${{ (inputs.build_only || inputs.artifacts_only) && 'never' || 'onTagOrDraft' }}

View file

@ -39,7 +39,7 @@ ssh_remote_deploy/enabled=false
[preset.1]
name="Linux"
name="Linux x64"
platform="Linux/X11"
runnable=true
dedicated_server=false
@ -55,6 +55,7 @@ encrypt_directory=false
[preset.1.options]
binary_format/architecture="x86_64"
custom_template/debug=""
custom_template/release=""
debug/export_console_wrapper=0
@ -95,3 +96,30 @@ application/short_version="1.0"
application/version="1.0"
application/icon=""
ssh_remote_deploy/enabled=false
[preset.3]
name="Linux arm64"
platform="Linux/X11"
runnable=true
dedicated_server=false
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="build/linux/godot-stage"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
encrypt_directory=false
[preset.3.options]
binary_format/architecture="arm64"
custom_template/debug=""
custom_template/release=""
debug/export_console_wrapper=0
binary_format/embed_pck=true
texture_format/s3tc_bptc=true
texture_format/etc2_astc=false
ssh_remote_deploy/enabled=false

View file

@ -30,3 +30,4 @@ enabled=PackedStringArray("res://addons/Godot-MToon-Shader/plugin.cfg", "res://a
[rendering]
rendering_device/driver.windows="d3d12"
textures/vram_compression/import_etc2_astc=true

View file

@ -1 +1 @@
sha256-8vcYH/7jbCWFn7NzO6zu7yv+x8Kjw0Ktf4MEAHEvB9g=
sha256-Ew2LklKsoF0EAdsNjIm8OJcMiFfZhyq3tyBsIkniX8E=