Compare commits

..

8 Commits

Author SHA1 Message Date
Serhii Snitsaruk 742b6822db
Cleanup after .import files generation 2024-05-25 12:46:07 +02:00
Serhii Snitsaruk 1760405727
try to fix import files not being generated 2024-05-25 12:40:37 +02:00
Serhii Snitsaruk 57d87d43a1
debug downloaded artifact 2024-05-25 12:34:53 +02:00
Serhii Snitsaruk 70383e7814
fix setup godot step 2024-05-25 12:29:33 +02:00
Serhii Snitsaruk 33b2d50519
debug 2024-05-25 12:17:08 +02:00
Serhii Snitsaruk 348d670028
temporarily override toolchain url 2024-05-25 11:59:56 +02:00
Serhii Snitsaruk 26382e077a
GHA: Verify toolchain checksum 2024-05-25 11:56:11 +02:00
Serhii Snitsaruk ca6d214345
GHA: Action that downloads & caches Linux toolchain
TuxFamily is often down lately, maybe caching could help.
2024-05-25 10:42:16 +02:00
2 changed files with 25 additions and 3 deletions

View File

@ -11,7 +11,7 @@ runs:
shell: bash shell: bash
run: | run: |
# ! Settings: # ! Settings:
TOOLCHAIN_64_URL=https://downloads.tuxfamily.org/godotengine/toolchains/linux/2021-02-11/x86_64-godot-linux-gnu_sdk-buildroot.tar.bz2 TOOLCHAIN_64_URL=https://github.com/limbonaut/limboai/releases/download/v1.0.2/x86_64-godot-linux-gnu_sdk-buildroot.tar.bz2
TOOLCHAIN_64_SHA=16c8302fcb676c1f0fb9df73d6cff250ba1f4286 TOOLCHAIN_64_SHA=16c8302fcb676c1f0fb9df73d6cff250ba1f4286
TOOLCHAIN_32_URL=https://downloads.tuxfamily.org/godotengine/toolchains/linux/2021-02-11/i686-godot-linux-gnu_sdk-buildroot.tar.bz2 TOOLCHAIN_32_URL=https://downloads.tuxfamily.org/godotengine/toolchains/linux/2021-02-11/i686-godot-linux-gnu_sdk-buildroot.tar.bz2
TOOLCHAIN_32_SHA=6171652abc54ef219e5187bc53660ee4e2f796f4 TOOLCHAIN_32_SHA=6171652abc54ef219e5187bc53660ee4e2f796f4

View File

@ -109,6 +109,7 @@ jobs:
env: env:
BIN: liblimboai.${{matrix.opts.platform}}.${{matrix.opts.target}}.${{matrix.opts.arch}} BIN: liblimboai.${{matrix.opts.platform}}.${{matrix.opts.target}}.${{matrix.opts.arch}}
TOOLCHAIN_URL:
steps: steps:
- name: Clone godot-cpp - name: Clone godot-cpp
@ -139,6 +140,26 @@ jobs:
with: with:
arch: ${{matrix.opts.arch}} arch: ${{matrix.opts.arch}}
# - name: Set up Linux buildroot x86_64
# if: matrix.opts.platform == 'linux' && matrix.opts.arch == 'x86_64'
# run: |
# wget https://downloads.tuxfamily.org/godotengine/toolchains/linux/2021-02-11/x86_64-godot-linux-gnu_sdk-buildroot.tar.bz2
# tar -xjf x86_64-godot-linux-gnu_sdk-buildroot.tar.bz2
# mv x86_64-godot-linux-gnu_sdk-buildroot buildroot
# cd buildroot
# ./relocate-sdk.sh
# cd ..
# - name: Set up Linux buildroot x86_32
# if: matrix.opts.platform == 'linux' && matrix.opts.arch == 'x86_32'
# run: |
# wget https://downloads.tuxfamily.org/godotengine/toolchains/linux/2021-02-11/i686-godot-linux-gnu_sdk-buildroot.tar.bz2
# tar -xjf i686-godot-linux-gnu_sdk-buildroot.tar.bz2
# mv i686-godot-linux-gnu_sdk-buildroot buildroot
# cd buildroot
# ./relocate-sdk.sh
# cd ..
- name: Set up Python 3.x - name: Set up Python 3.x
if: matrix.opts.platform == 'windows' || matrix.opts.platform == 'macos' if: matrix.opts.platform == 'windows' || matrix.opts.platform == 'macos'
uses: actions/setup-python@v5 uses: actions/setup-python@v5
@ -283,8 +304,9 @@ jobs:
- name: Change editor scale import settings - name: Change editor scale import settings
shell: bash shell: bash
run: | run: |
echo "--- Listing icons dir:" ls -R out/
ls out/addons/limboai/icons/ echo "--- Listing import files:"
ls out/addons/limboai/icons/*.import
echo "--- (end of listing)" echo "--- (end of listing)"
sed -i 's|editor/scale_with_editor_scale=false|editor/scale_with_editor_scale=true|' out/addons/limboai/icons/*.import sed -i 's|editor/scale_with_editor_scale=false|editor/scale_with_editor_scale=true|' out/addons/limboai/icons/*.import