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 shell: bash
run: | run: |
# ! Settings: # ! 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_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,7 +109,6 @@ 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
@ -140,26 +139,6 @@ 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
@ -304,9 +283,8 @@ jobs:
- name: Change editor scale import settings - name: Change editor scale import settings
shell: bash shell: bash
run: | run: |
ls -R out/ echo "--- Listing icons dir:"
echo "--- Listing import files:" ls out/addons/limboai/icons/
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