Compare commits

..

2 Commits

Author SHA1 Message Date
Serhii Snitsaruk cc4d224e8e
Merge e788350363 into 17eb029497 2024-07-30 12:50:34 +00:00
Serhii Snitsaruk e788350363
GHA: Add Linux ARM toolchain 2024-07-30 14:50:29 +02:00
3 changed files with 4 additions and 8 deletions

View File

@ -15,8 +15,8 @@ runs:
TOOLCHAIN_64_SHA=16c8302fcb676c1f0fb9df73d6cff250ba1f4286
TOOLCHAIN_32_URL=https://github.com/godotengine/buildroot/releases/download/godot-2020.11.x-2/i686-godot-linux-gnu_sdk-buildroot.tar.bz2
TOOLCHAIN_32_SHA=6171652abc54ef219e5187bc53660ee4e2f796f4
TOOLCHAIN_ARM64_URL=https://github.com/godotengine/buildroot/releases/download/godot-2023.08.x-3/aarch64-godot-linux-gnu_sdk-buildroot.tar.bz2
TOOLCHAIN_ARM64_SHA=73bed3d26b92c8b9a93c0ceb6bcce8fe567d1764
TOOLCHAIN_ARM64_URL=https://github.com/godotengine/buildroot/releases/download/godot-2020.11.x-2/arm-godot-linux-gnueabihf_sdk-buildroot.tar.bz2
TOOLCHAIN_ARM64_SHA=72fd02826dfbcf2ad679d5fda0a4e6882a548fbd
# ! Export variables:
if [[ "${{ inputs.arch }}" == "x86_64" ]]; then

View File

@ -25,7 +25,7 @@ on:
# Global Settings
env:
SCONS_CACHE_LIMIT: 4096
SCONSFLAGS: production=yes tests=no verbose=yes warnings=extra
SCONSFLAGS: production=yes tests=no verbose=yes warnings=extra werror=yes
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true

View File

@ -231,11 +231,7 @@ jobs:
env:
OUTDIR: ${{ startsWith(matrix.opts.target, 'template') && 'out/templates' || 'out/' }}
run: |
if [ "${{matrix.opts.arch}}" == "arm64" ]; then
${GITHUB_WORKSPACE}/buildroot/bin/aarch64-godot-linux-gnu-strip ./bin/godot.*
else
strip ./bin/godot.*
fi
strip ./bin/godot.*
chmod +x ./bin/godot.*
mkdir -p ${{env.OUTDIR}}
mv bin/* ${{env.OUTDIR}}