Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
b32a643
wip github actions
Jack-Kaller Jul 30, 2025
47c5c00
add default job target
Jack-Kaller Aug 1, 2025
d6b7fae
trigger on PR
Jack-Kaller Aug 1, 2025
e13a16b
trigger on PR
Jack-Kaller Aug 1, 2025
78f7b5d
fix build
Jack-Kaller Aug 1, 2025
41eb614
add PR type
Jack-Kaller Aug 1, 2025
3391f9c
fix mingw
Jack-Kaller Aug 1, 2025
7c0c971
job target to github env
Jack-Kaller Aug 1, 2025
4927b71
default env Both
Jack-Kaller Aug 1, 2025
3a0a5d8
add debug echo
Jack-Kaller Aug 1, 2025
9708061
add debug echo
Jack-Kaller Aug 1, 2025
d15eda2
remove job targetr
Jack-Kaller Aug 1, 2025
95fc02e
test arm64
Jack-Kaller Aug 1, 2025
6f5f854
add font config
Jack-Kaller Aug 1, 2025
50ab004
remove export preset
Jack-Kaller Aug 1, 2025
59095e0
remive preset file
Jack-Kaller Aug 1, 2025
2df7b84
add --verbose
Jack-Kaller Aug 1, 2025
41d382b
add verbose
Jack-Kaller Aug 2, 2025
e3f234e
remove menu_music
Jack-Kaller Aug 2, 2025
4ddefee
add verbose
Jack-Kaller Aug 2, 2025
26ae930
disconnect signal
Jack-Kaller Aug 2, 2025
b8e948c
remove fake path
Jack-Kaller Aug 2, 2025
b3de4cd
remive linux build
Jack-Kaller Aug 2, 2025
07360c5
remove gwj countdown
Jack-Kaller Aug 2, 2025
3bb4ee3
remove export preset
Jack-Kaller Aug 2, 2025
a805d2b
add preset
Jack-Kaller Aug 2, 2025
0e549f1
change export path
Jack-Kaller Aug 2, 2025
5f6a7db
modify export path
Jack-Kaller Aug 2, 2025
c64ed65
change expport path
Jack-Kaller Aug 2, 2025
6afb8fd
change expport path
Jack-Kaller Aug 2, 2025
ca1d526
change expport path
Jack-Kaller Aug 2, 2025
fcb220a
reset export cfg
Jack-Kaller Aug 2, 2025
34ed91c
add pwd debug line
Jack-Kaller Aug 2, 2025
18bb22a
add l -a
Jack-Kaller Aug 2, 2025
fb6e4dc
ls
Jack-Kaller Aug 2, 2025
3857adc
ls
Jack-Kaller Aug 2, 2025
db593dc
ls
Jack-Kaller Aug 2, 2025
2ac30b5
change godot project location
Jack-Kaller Aug 2, 2025
b9463e7
test
Jack-Kaller Aug 2, 2025
100f12f
test
Jack-Kaller Aug 2, 2025
33b68b1
test
Jack-Kaller Aug 2, 2025
eebd1c3
test
Jack-Kaller Aug 2, 2025
7a91e78
test
Jack-Kaller Aug 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 98 additions & 0 deletions .github/workflows/build_debug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
name: Debug build
run-name: Menu template build
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
workflow_dispatch:
inputs:
job_target:
description: 'Select the platform'
required: true
default: 'Both'
type: choice
options:
- Linux
- Windows
- Both

env:
GODOT_VERSION: 4.4
GODOT_PROJECT_LOCATION: ./project.godot
EXPORT_FOLDER_LINUX: bin/linux
EXPORT_FOLDER_WINDOWS: bin/windows
APPLICATION_NAME: menu_template

jobs:
build:
runs-on: ubuntu-latest
container:
image: archlinux:latest
steps:
- name: Settings extra variables
run:
export DATE=$(date +'%Y-%m-%d')
echo "DATE=$DATE" >> $GITHUB_ENV
echo "MAIN_FOLDER=$(pwd)" >> $GITHUB_ENV
echo "JOB_TARGET='Both'" >> $GITHUB_ENV
Copy link

Copilot AI Aug 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The JOB_TARGET is hardcoded to 'Both' but should use the workflow input parameter. Change to: echo "JOB_TARGET=${{ github.event.inputs.job_target || 'Both' }}" >> $GITHUB_ENV

Suggested change
echo "JOB_TARGET='Both'" >> $GITHUB_ENV
echo "JOB_TARGET=${{ github.event.inputs.job_target || 'Both' }}" >> $GITHUB_ENV

Copilot uses AI. Check for mistakes.

- name: Vérifier la variable MAIN_FOLDER
run: |
echo "MAIN_FOLDER: ${{ env.MAIN_FOLDER }}"

- name: Debug job target
run: echo ${{ env.JOB_TARGET }}

- name: Installing dependencies
run: pacman -Syu --noconfirm git bash yasm python python-pip scons gcc diffutils make wget unzip tar mingw-w64 fontconfig

- name: Checkout submodules
uses: actions/checkout@v4
with:
submodules: recursive

- name: Prepare Godot
run: |
wget -q -O godot_linux.zip https://github.com/godotengine/godot/releases/download/${{ env.GODOT_VERSION}}-stable/Godot_v${{ env.GODOT_VERSION }}-stable_linux.x86_64.zip
unzip godot_linux.zip
wget -q -O godot_export_templates.tpz https://github.com/godotengine/godot/releases/download/${{ env.GODOT_VERSION }}-stable/Godot_v${{ env.GODOT_VERSION }}-stable_export_templates.tpz
mkdir -p ~/.local/share/godot/export_templates/${{ env.GODOT_VERSION }}.stable
unzip godot_export_templates.tpz -d ~/.local/share/godot/export_templates/${{ env.GODOT_VERSION }}.stable
mv ~/.local/share/godot/export_templates/${{ env.GODOT_VERSION }}.stable/templates/* ~/.local/share/godot/export_templates/${{ env.GODOT_VERSION }}.stable

- name: Créer le dossier d’export Linux
run: mkdir -p ${{ env.MAIN_FOLDER }}/${{ env.EXPORT_FOLDER_LINUX }}

- name: Créer le dossier d’export Windows
run: mkdir -p ${{ env.MAIN_FOLDER }}/${{ env.EXPORT_FOLDER_WINDOWS }}

- name: Building debug Linux
run: |
mkdir -p ${{ env.EXPORT_FOLDER_LINUX }}
./Godot_v${{ env.GODOT_VERSION }}-stable_linux.x86_64 --import ${{ env.GODOT_PROJECT_LOCATION }} --quiet --headless --export-debug --verbose Linux ${{ env.MAIN_FOLDER }}/${{ env.EXPORT_FOLDER_LINUX }}/${{ env.APPLICATION_NAME }}.x86_64 --verbose
chmod +x ${{ env.EXPORT_FOLDER_LINUX }}/${{ env.APPLICATION_NAME }}.sh --verbose
chmod +x ${{ env.EXPORT_FOLDER_LINUX }}/${{ env.APPLICATION_NAME }}.x86_64 --verbose

- name: Tar files
run: tar -cvf ${{ env.APPLICATION_NAME }}_linux_debug_${{ env.DATE }}.tar ${{ env.EXPORT_FOLDER_LINUX }}

- name: Uploading GDExtension Linux artifact debug
uses: actions/upload-artifact@v4
with:
name: ${{ env.APPLICATION_NAME }}_linux_debug_${{ env.DATE }}.tar
path: ${{ env.APPLICATION_NAME }}_linux_debug_${{ env.DATE }}.tar

- name: Building debug Windows
run: |
mkdir -p ${{ env.EXPORT_FOLDER_WINDOWS }}
./Godot_v${{ env.GODOT_VERSION }}-stable_linux.x86_64 --import ${{ env.GODOT_PROJECT_LOCATION }} --quiet --headless --export-debug Windows ${{ env.MAIN_FOLDER }}/${{ env.EXPORT_FOLDER_WINDOWS }}/${{ env.APPLICATION_NAME }}.exe

- name: Uploading GDExtension Windows artifact debug
uses: actions/upload-artifact@v4
with:
name: ${{ env.APPLICATION_NAME }}_windows_debug_${{ env.DATE }}
path: ${{ env.EXPORT_FOLDER_WINDOWS }}/


2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Godot-specific ignores
.import/
export.cfg
export_presets.cfg


# Imported translations (automatically generated from CSV files)
*.translation
Expand Down
2 changes: 0 additions & 2 deletions addons/gwj_countdown/assets/LICENSE.txt

This file was deleted.

Binary file not shown.
34 changes: 0 additions & 34 deletions addons/gwj_countdown/assets/clock_and_gwj_mascot_80x80.png.import

This file was deleted.

167 changes: 0 additions & 167 deletions addons/gwj_countdown/assets/clock_and_gwj_mascot_vector.svg

This file was deleted.

37 changes: 0 additions & 37 deletions addons/gwj_countdown/assets/clock_and_gwj_mascot_vector.svg.import

This file was deleted.

Binary file removed addons/gwj_countdown/assets/gwj_mascot_80x80.png
Binary file not shown.
34 changes: 0 additions & 34 deletions addons/gwj_countdown/assets/gwj_mascot_80x80.png.import

This file was deleted.

Loading