From af27aca021396b3b3dd9b4df23635d2d5419c7ad Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Tue, 30 Jul 2024 16:19:02 +0200 Subject: [PATCH] GHA: Fix strip failing in Linux ARM64 builds --- .github/workflows/linux.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 67bfc34..87febd2 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -231,7 +231,11 @@ jobs: env: OUTDIR: ${{ startsWith(matrix.opts.target, 'template') && 'out/templates' || 'out/' }} run: | - strip ./bin/godot.* + if [ "${{matrix.opts.arch}}" == "arm64" ]; then + ${GITHUB_WORKSPACE}/buildroot/bin/aarch64-godot-linux-gnu-strip ./bin/godot.* + else + strip ./bin/godot.* + fi chmod +x ./bin/godot.* mkdir -p ${{env.OUTDIR}} mv bin/* ${{env.OUTDIR}}