GHA: For GDExtension builds, package demo, license and readme

This commit is contained in:
Serhii Snitsaruk 2024-01-17 17:54:20 +01:00
parent c5be3a725f
commit db51defddd
2 changed files with 9 additions and 8 deletions

View File

@ -162,15 +162,13 @@ jobs:
- name: Setup project structure for GDExtension
shell: bash
run: |
python ./limboai/gdextension/update_icons.py
mkdir -p demo/addons/limboai/bin
mv limboai/icons demo/addons/limboai/
cp limboai/gdextension/SConstruct SConstruct
cp limboai/gdextension/limboai.gdextension demo/addons/limboai/bin
bash ./limboai/gdextension/setup_gdextension.sh --copy-all
echo "---"
ls -l
echo "---"
ls -l -R ./demo/
- name: Compilation
shell: bash
env:
@ -184,7 +182,10 @@ jobs:
run: |
mkdir out
mv demo/addons/ out/
cp limboai/{README,LICENSE,LOGO_LICENSE}.md out/addons/limboai/
cp -R limboai/demo/demo out/demo
rm -f out/addons/limboai/bin/*.{exp,lib,pdb}
echo "---"
ls -R out/
- name: Strip lib

View File

@ -76,6 +76,9 @@ done
highlight Setup started.
${PYTHON} limboai/gdextension/update_icons.py --silent
highlight -- Icon declarations updated.
transfer="ln -s"
transfer_word="Linked"
if [ ${copy_all} == 1 ]; then
@ -146,7 +149,4 @@ else
highlight -- Skipping icons. File already exists!
fi
${PYTHON} limboai/gdextension/update_icons.py --silent
highlight -- Icon declarations updated.
highlight Setup complete.