GHA: For GDExtension builds, package demo, license and readme
This commit is contained in:
parent
c5be3a725f
commit
db51defddd
|
@ -162,15 +162,13 @@ jobs:
|
||||||
- name: Setup project structure for GDExtension
|
- name: Setup project structure for GDExtension
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
python ./limboai/gdextension/update_icons.py
|
bash ./limboai/gdextension/setup_gdextension.sh --copy-all
|
||||||
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
|
|
||||||
echo "---"
|
echo "---"
|
||||||
ls -l
|
ls -l
|
||||||
|
echo "---"
|
||||||
ls -l -R ./demo/
|
ls -l -R ./demo/
|
||||||
|
|
||||||
|
|
||||||
- name: Compilation
|
- name: Compilation
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
|
@ -184,7 +182,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
mkdir out
|
mkdir out
|
||||||
mv demo/addons/ 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}
|
rm -f out/addons/limboai/bin/*.{exp,lib,pdb}
|
||||||
|
echo "---"
|
||||||
ls -R out/
|
ls -R out/
|
||||||
|
|
||||||
- name: Strip lib
|
- name: Strip lib
|
||||||
|
|
|
@ -76,6 +76,9 @@ done
|
||||||
|
|
||||||
highlight Setup started.
|
highlight Setup started.
|
||||||
|
|
||||||
|
${PYTHON} limboai/gdextension/update_icons.py --silent
|
||||||
|
highlight -- Icon declarations updated.
|
||||||
|
|
||||||
transfer="ln -s"
|
transfer="ln -s"
|
||||||
transfer_word="Linked"
|
transfer_word="Linked"
|
||||||
if [ ${copy_all} == 1 ]; then
|
if [ ${copy_all} == 1 ]; then
|
||||||
|
@ -146,7 +149,4 @@ else
|
||||||
highlight -- Skipping icons. File already exists!
|
highlight -- Skipping icons. File already exists!
|
||||||
fi
|
fi
|
||||||
|
|
||||||
${PYTHON} limboai/gdextension/update_icons.py --silent
|
|
||||||
highlight -- Icon declarations updated.
|
|
||||||
|
|
||||||
highlight Setup complete.
|
highlight Setup complete.
|
||||||
|
|
Loading…
Reference in New Issue