Compare commits

..

2 Commits

Author SHA1 Message Date
Serhii Snitsaruk e8816091e6
GHA: Verify toolchain checksum 2024-05-25 13:33:48 +02:00
Serhii Snitsaruk fc1b99a5b1
GHA: Action that downloads & caches Linux toolchain
TuxFamily is often down lately, maybe caching could help.
2024-05-25 13:33:42 +02:00
2 changed files with 3 additions and 25 deletions

View File

@ -11,7 +11,7 @@ runs:
shell: bash
run: |
# ! Settings:
TOOLCHAIN_64_URL=https://github.com/limbonaut/limboai/releases/download/v1.0.2/x86_64-godot-linux-gnu_sdk-buildroot.tar.bz2
TOOLCHAIN_64_URL=https://downloads.tuxfamily.org/godotengine/toolchains/linux/2021-02-11/x86_64-godot-linux-gnu_sdk-buildroot.tar.bz2
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_SHA=6171652abc54ef219e5187bc53660ee4e2f796f4

View File

@ -109,7 +109,6 @@ jobs:
env:
BIN: liblimboai.${{matrix.opts.platform}}.${{matrix.opts.target}}.${{matrix.opts.arch}}
TOOLCHAIN_URL:
steps:
- name: Clone godot-cpp
@ -140,26 +139,6 @@ jobs:
with:
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
if: matrix.opts.platform == 'windows' || matrix.opts.platform == 'macos'
uses: actions/setup-python@v5
@ -304,9 +283,8 @@ jobs:
- name: Change editor scale import settings
shell: bash
run: |
ls -R out/
echo "--- Listing import files:"
ls out/addons/limboai/icons/*.import
echo "--- Listing icons dir:"
ls out/addons/limboai/icons/
echo "--- (end of listing)"
sed -i 's|editor/scale_with_editor_scale=false|editor/scale_with_editor_scale=true|' out/addons/limboai/icons/*.import